I tried the tutorial by senocular at http://www.kirupa.com/developer/actionscript/flash_php_email.htm
However, if the user does not fill in all the text fields, a message will come out saying “Please fill in the fields mark *”. I tried the code below, i thought it works at first, but when I test in on the server, I did not receive any email.
Below is the code:
on (release) {
if (firstname == undefined || lastname == undefined || addressbar == undefined || email == undefined){
_root.questions.gotoAndPlay(“blanks”);
} else {
_root.questions.form.loadVariables(“email.php”, “POST”);
}
}
I tried filling in all the blanks, and the message still appears, and no data is send to the email! Please do help!