Hi i am have big problems, im designing a login screen and it will require more than one user to be able to access differnt parts of the flash file.
at the moment i am using IF statements.
password = inputName;
username = inputUser;
if (password == "butterfly" and username == "safa") {
inputStatus = "Access granted!" ;
fscommand("exec", "safa.exe");
gotoAndStop(6);
inputUser = "Retype Username & Password";
} else {
inputVer = "Username or Password Incorrect!";}
if (password == "butterfly2" and username == "alison") {
inputStatus = "Access granted!" ;
gotoAndStop(7);
inputUser = "Retype Username & Password";
inputName = "";
} else {
inputVer = "Username or Password Incorrect!";
}
there is no problem with this method but if a user wants to change there username or password they wont be able to do so because they wont have any idea how to change the script.
the other thing is the flash file is being converted to a standalone .exe file so it’s basically like a program.
to get to the point I need to know if there is any way for the Actionscript to be able to read a .txt document so that when the username and password is changed in the .txt document flash will read it so when they enter the new username and password it will still allow them to access the files.
many thanx
safa