PLEASE HELP!
im trying to store a password in a .txt file. when i load the password into a flash file using loadvariables (and confirm the variables have loaded) and ask if this loaded variable is the same as the text written into the password box by the user, it always returns false even if the two are the same. this is my code:
if (passtry==passcheck) {
gotoAndStop ("end");
}
where passtry is the input password text
and passcheck is the loaded variable
i even tried loading the variable into a text box and using a code and then comparing the input text to that text box...this did not work either...is there something i'm missing?
yep. i traced them they're the same. i never encounter this unless i am using load variables and a conditional statement. if i compare the input: passtry with either "12" (the right password) or a dynamic text box with 12 typed into it, it works fine, but obviously this does not solve my problem in this case...but when i compare passtry with a dynamic text box that has the variables loaded into it or directly with the variables it does not work.