a very important question: for a login i need to compare two variables.
one of the variables (passw) is loaded dynamically.
the other one (pw) is set by a form the user hast to fill.
i wrote the following code on a button in the frame where the user hast to type his password (passw is already loaded from a textfile):
on (release) {
if (pw == passw) {
gotoAndStop(4);
} else {
gotoAndStop(3);
}
}
in frame 3 i wrote: “wrong password”, code is stop ()
in frame 4: “welcome user”, code is stop()
i tried half an hour to fix that but i always get “wrong password”
plz help me
EDIT: one more question: is a movie loaded with loadMovie(…) able to work with variables set in the main movie (in which i loaded it) ?