So I have a small application and I want the user to be required to enter a 25 digit serial, so I made 5 input textfields and I named each one with their vars: key1, key2, key3, key4, key5 and put them in that order, then I made a buttun which your will use once you entered your serial. If the serial is right you go to frame 2 if is not you go to frame 3. I preview it but it doesn't work! Here is the script:
on (release, keyPress "") {
if (key1 == "H26BX" & key2 == "294RD" & key3 == "KGFT9" & key4 == "D3B2C" & key5 == "4JKVX") {
gotoAndStop(2);
} else {
gotoAndStop(3);
}
}
What am I doing wrong? This script is added to the "comfirm" button.
2007-02-04
02:33:52
·
3 answers
·
asked by
Anonymous
in
Programming & Design