Posted By

orazal on 01/16/09


Tagged


Versions (?)

Flash Form


 / Published in: ActionScript
 

  1. // Store data in message
  2. var userData:String = "nom : " + name.text + "\n";
  3. userData += "e-mail : " + email.text + "\n";
  4. userData += "adresse : " + address.text + "\n";
  5. userData += "téléphone : " + phone.text + "\n";
  6. userData += "message : " + message.text;
  7.  
  8. var sender:LoadVars = new LoadVars();
  9. sender.name = name.text;
  10. sender.email = email.text;
  11. sender.message = userData;
  12. sender.onLoad = Delegate.create(this, senderHandler);
  13. sender.sendAndLoad("/include/mail.php", sender, "POST");

Report this snippet  

You need to login to post a comment.