Welcome to the flash login tutorial, here it is;
Step 1 : Create a new flas document
Click to enlarge
Step 2 : Create the look of your login
Click to enlarge
Step 3 : Create two input text fields. one with the variable name of "un" without quotes, and another named "pw" without quotes
Click to enlarge
Step 4 : Create a button instance and design it any way you like, then add the following action to it
Click to enlarge
Step 5 : Add this action to the first frame of your movie
Click to enlarge
Step 6 : Create a new frame with the name of "correctFrame" without quotes and add anything you like, hint: this is the login correct frame
Click to enlarge
Step 7 : Create a new frame with the name of "incorrectFrame" without quotes and add anything you like, hint: this is the login incorrect frame
Click to enlarge
And that about wraps it up, your login should work, thank you for viewing.