Groups | Blog | Home
all groups > flash actionscript > september 2006 >

flash actionscript : password login


Biddo Diddo
9/20/2006 9:53:27 PM
I have a very simple and easy to use password script that works great in
versions 6 and 2004. But for some reason does not work at all in version 8,
even when the action script is set to 1.0. Any ideas. I would be happy to
send the completed file to anyone who wants it.

Many thanks

Marc

on (release, keyPress "<Enter>") {
if (password eq "xyz") {
getURL("xyz.htm", "_blank");
} else if (password eq "123") {
getURL("123.htm", "_blank");
} else {
gotoAndStop("error");
}
}
coldMiner
9/20/2006 10:43:18 PM
Biddo Diddo
9/21/2006 4:30:55 PM
Hi coldminer,

thanks for the hint, but you'll have to be more specific. should I just add
my code to the end? keep in mind that the input text box is labeled "password"
and this code is attached to an ENTER button.

thanks
AddThis Social Bookmark Button