I looked around for information and came up with this but it will not work either:
// Submit Button action
submit_btn.onRelease = function() {
//Add Path of the php file
feedbackpath = "mailto.php";
//
str1 = email.indexOf("@");
str2 = email.indexOf("@")+1;
str3 = email.charAt(str1+1);
str4 = email.lastIndexOf(".");
str5 = email.charAt(str4+1);
len = length(email);
counter = 1;
flag = 0;
while (Number(counter)<=Number(len)) {
Char = substring(email, counter, 1);
if (Char ne "@") {
flag = Number(flag)+1;
}
counter = Number(counter)+1;
}
}
submit_btn.onRelease = function () {
if (flname_txt.text == "" || email_txt.text == "" || themessage_txt.text == "" ) {
status_txt.text = "Please complete the entire form ...";
} else {
status_txt.text = "";
loadVariablesNum(feedbackpath+"?name="+name+"&email="+email+"&feedback="+suggestion, 0);
gotoAndStop(63);
}
};
any suggestions would he helpful