Lynx75
03-26-2003, 01:57 PM
hi everyone!
ive got a simple frame with two field username and passord.
ive got the "login" button that process if the data insert are correct:
_root.login_btn.onRelease = function () {
if (_root.username.text="lloyds" && _root.password.text="test"){
gotoAndStop ("interface");
}
};
but at the IF line I wish to double check that If the username and password are equal to then we can carry on.My question is: I cant use && operator,which other is ok?
tnx,bye
ive got a simple frame with two field username and passord.
ive got the "login" button that process if the data insert are correct:
_root.login_btn.onRelease = function () {
if (_root.username.text="lloyds" && _root.password.text="test"){
gotoAndStop ("interface");
}
};
but at the IF line I wish to double check that If the username and password are equal to then we can carry on.My question is: I cant use && operator,which other is ok?
tnx,bye