Hi.
I am making a screensaver and wondered if it is it possible to temporarily or dynamically password protect a Flash movie clip via a user input text field? For example, a user thinks up a password on the spot, types it in, hits a SET button and the mc cannot be disabled without re-entering the correct password. I am new to actionscript and from what I can find on Google it ooks as though the answer could lie in using veriables but i’m not sure how to implement this.
Currently I am using this code to hard wire passwords into my swf files before compiling them in SWF Studio:
on (keyPress “<Enter>”) {
if (password.text == “password”) {
gotoAndPlay(“mc”);
} else {
feedback.text = “INVALID”;
}
}
Thanks for any help
Bidge (actionscript newbie)