Freddythunder
July 16th, 2003, 09:29 PM
Hey all again,
I'm still dealing with that same stupid Login thing, but it's a little different this time. When I got it to work, one of the variables 'status' is a textbox that say's whether or not 'you're in' or 'no soup for you'.
Now all I want to do is xfer a variable that I can use in a gotoAndPlay thing. I've tried a thousand times and have searched through the forums here. I tried Ahmed's script that starts with lv=new LoadVars(); That didn't work either. I hope it's something dumb!!!
Here's my stuff:
//last lines
if ( $numRow ){
$auth = 1;
print "_root.container.checklog=1&_root.container.status=You're in!!";
} else {
$auth = 0;
print "_root.container.checklog=0&_root.container.status=You're out!!";
}
}
?>
status = "receiving variables";
loadVariables("htmllogintext.php", this, "POST");
if(checklog = "1"){
gotoAndStop(62);
}
if(checklog = "0"){
gotoAndStop(61);
}
Can you not use varibles in this way? The script works because the textBox 'status' displays what it is supposed to.
Thank you anyone!!
I'm still dealing with that same stupid Login thing, but it's a little different this time. When I got it to work, one of the variables 'status' is a textbox that say's whether or not 'you're in' or 'no soup for you'.
Now all I want to do is xfer a variable that I can use in a gotoAndPlay thing. I've tried a thousand times and have searched through the forums here. I tried Ahmed's script that starts with lv=new LoadVars(); That didn't work either. I hope it's something dumb!!!
Here's my stuff:
//last lines
if ( $numRow ){
$auth = 1;
print "_root.container.checklog=1&_root.container.status=You're in!!";
} else {
$auth = 0;
print "_root.container.checklog=0&_root.container.status=You're out!!";
}
}
?>
status = "receiving variables";
loadVariables("htmllogintext.php", this, "POST");
if(checklog = "1"){
gotoAndStop(62);
}
if(checklog = "0"){
gotoAndStop(61);
}
Can you not use varibles in this way? The script works because the textBox 'status' displays what it is supposed to.
Thank you anyone!!