|
|
|
PHP/Flash Email Form
|
|
|
|
Tutorial Instructions
|
|
onClipEvent(data){
_root.gotoAndStop(2);
}
5. Create a Submit button at the bottom and add the following code to it.
on(release){
_root.mail_form.loadVariables
("http://www.yoursite.com/email.php",
"POST");
}
6. Create a second frame and insert a Dynamic Text: variable field to mail_form.success. After you do this, go back to the first frame and add stop(); so it doesn't automatically head to the second frame before you press the submit button. 7. Add the code to email.php so grab the flash variables and return if it works or if errored. You may download the source code from the files below to get the php file since it is kind of long.
|
|




