Learn: User Name & Passwords

Home Food Mates • Members Tutorials Forum Buy Templates Contact Us 

 


Flash Tutorials

   

Flash Tutorial - User Name and Password - Advanced Features

 

Free Tutorial


Step 4    <<   Previous      Intro   1   2   3   4   5   6     Next   >>       >>   Webwasp Mates

 

Step Four: The Enter Button

  1. Add the following code to the Enter button replacing the existing code from before:

    // When the enter button is pressed and then released do the following:
    on (release, releaseOutside, keyPress "<Enter>") {

    /* This sets the cursor in the user name input box. It sets the variable a to 1 so that if the Tab button is pressed, the Movie knows which text box currently has the cursor in it.  */
    Selection.setFocus("_root.UserName");
    Selection.setSelection(length(/:UserName), length(/:UserName));
    _root.a = 1;

    // Calls the first global function when the button is pressed and released, or when the enter key is pressed
    InputCheck();
    }

         

Step 4    <<   Previous      Intro   1   2   3   4   5   6     Next   >>       >>   Webwasp Mates


Webwasp Community: Webwasp Mates & Dates

Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates

 Top of Page Home Food Mates Members Tutorials Forum Buy Templates Contact Us 
 All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.