I need help with passwords in flash (of course) anyways i want to know how you would set the scripting to set up a password.
Like. I have the text box where they can type and its set to a password box. i have the button set to goto the next frame. but i need to know how when you type in a password incorectly into the box the button won't let them through and when you have in correct it lets you through to the next frame.
Well once you've stored you're text field into a variable say myPass you have to make a small check when you press the 'submit' button, or however you plan on doing that. This is what you would do: submitBtn.onRelease = function(){ if( myPass == "assword"{ gotoAndStop("accepted" }else{ gotoAndStop("denied" } }
For this to work you have to have a button with the instance name of submitBtn and frames with the names "accepted" and "denied". Change this line :if( myPass == "assword"{ to have whatever you want you're password to be