If someone can help i would be most grateful!]
Im trying to script a button which looks to see if a password is correct and if so advances to the next page and sends data from text fields via php to an email.
I can get the advance to the next frame to work however it wont send the data to php.
Here is the code…
stop();
var myPassword:String = ‘password’;
true_btn.onRelease = function() {
if (password_txt.text == myPassword) {
gotoAndPlay(49);
form.loadVariables(“email.php”, “POST”);
} else {
gotoAndStop(48);
}
}
Any ideas where i am going wrong?