FLASH FORM - NOT SENDING ALL THE INFORMATION

Sends the email but not all information

Page 1 of 1

1 Replies - 516 Views - Last Post: 18 March 2008 - 04:44 PM

#1 bmcc81  Icon User is offline

  • D.I.C Regular

Reputation: 2
  • View blog
  • Posts: 312
  • Joined: 10-July 07

FLASH FORM - NOT SENDING ALL THE INFORMATION

Posted 18 March 2008 - 04:06 PM

Hi,

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?

Is This A Good Question/Topic? 0
  • +

Replies To: FLASH FORM - NOT SENDING ALL THE INFORMATION

#2 thehat  Icon User is offline

  • awake ? web();
  • member icon

Reputation: 106
  • View blog
  • Posts: 951
  • Joined: 28-February 08

Re: FLASH FORM - NOT SENDING ALL THE INFORMATION

Posted 18 March 2008 - 04:44 PM

It looks ok. What error are you getting, if any? Are you meeting all the security requirements?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1