I finaly got my php script working, but know I think that my flash form isn't working properly.
stop();
var senderLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();
sender.onRelease = function() {
senderLoad.theName = theName.text;
senderLoad.theEmail = theEmail.text;
senderLoad.theMessage = theMessage.text;
senderLoad.sendAndLoad("http://www.website.ca/mail/send.php",receiveLoad);
}
receiveLoad.onload = function() {
if(this.sentOk) {
_root.gotoAndStop("success");
}
else {
_root.gotoAndStop("failed");
}
}
Is there something wrong with this?

New Topic/Question
This topic is locked



MultiQuote




|