-
I can customize my title now
login
so i have a frame that you log in on, if they get the password and username correct they go to frame 3.
ok, but what if they get it wrong. well then i want to send them to frame 2 where it tells them they were wrong.
for the right password code, i am using
on (release, keyPress "<Enter>") {
if (userName == "ken" && passWord == "carnes") {
gotoAndStop(3);
}
}
what do i add to that to send them to frame 2 for wrong?
it seems to me that you would just put
if not (userName == "ken...
but its just not that simple
-
try this
on (release, keyPress "<Enter>") {
if (userName == "ken" && passWord == "carnes") {
gotoAndStop(3);
}
else {
gotoAndPlay (2)
}
}
i did not have time to test it in a full movie but the script is correct.
Q13
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|