Search tutorials
1)
Draw two text boxes, and in properties change the type to input text and the var for the first one to user and the var for the second one to pass. Stuck? see picture:
2)
Create a login button and add the actionscript to it....on(release){
if(user == "demo"){
if(pass == "demo"){
gotoAndStop("secret");
}
}
if(user == "demo2"){
if(pass == "demo2"){
gotoAndStop("secret");
}
}
else{
gotoAndStop("error");
}
}
Then create a BLANK button and add this actionscript:
on(keyPress "
gotoAndStop("secret");
}
Name the currect frame login form. At frame ten add a keyframe name it secret and at frame 20 and name it error. In error copy the login form (from frame loginform) and paste it in error but add a password incorrect message.
3)
In the frame secret add your secret message and caboom your done! Now you have a flash login script with a secret key to get in (left) to get in if you forget your user details!
» Level Intermediate |
Added: 2005-03-01 Rating: 4.84 Votes: 25 |
» Author |
Intermediate designer. |
» Download |
Download the files used in this tutorial. |
Download (18 kb) |
» Forums |
More help? Search our boards for quick answers! |