|
|
Search Tutorials
Creating the Actionscript:Now you are going to create the Actionscript to make your password detector work. Frame 1:Select the button, open the Actions Panel , and place the following script in the Object Action panel:
on (press) {
Note: In the second line, myInput is the variable
name for your Input Text field. If you change the variable name for this
text field (on the Text Options Panel), you will need to change this in
your script as well.
In the second line, substitute your password here with the correct password you have chosen. The password detector is case sensitive.
|
||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||
|