This Is What I Got
Flash Movie With 3 frames
1st Frame: got 2 input fields var CurrentUser, var password and a submit button
Button AS:
on (release) {
if (CurrentUser add password eq "" add "") {
Status = "Sorry Your Username and Password Dont Match Our Database You Must Be On Our Staff To Log In";
} else {
gotoAndPlay(2);
}
}
2nd Frame: Same textfields and my frame actions are:
U = CurrentUser add ".txt";
loadVariables(U, _root.Main, "POST");
3rd Frame: Same textfields and my frame actions are:
if (password ne password33) {
Status = "Sorry Your Username and Password Dont Match Our Database You Must Be On Our Staff To Log In";
} else if (password eq password33) {
gotoAndStop(4);
}
stop();
What This Code Does Is When SomeOne Tries Logging In What Ever Name Is In The CurrentUser Field It Searches The Directory For A Txt File Named That.. When Or If Its Found Then It Looks Inside For The Password And if it match's it lets you pass
Each txt File looks like this for example and etc...
THE TXT NAME: jeff.txt
CONTENTS OF TXT: password33=333
Well This Works All Fine But When I Load The Login Movie Into The Main Movie It Don't Work.. I Even Tried Using _root.Main and everything.. can you guys make anything out of this and give me a hand?