The code for the php is as follows...
Code:
<?php
$sendTo = "xxxx@xxxxx.com";
$subject = "Inquiry/Comment";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: " . $_POST["name"] ."<" . $_POST["email"] .">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$message = "From: " . $_POST["name"] ." " . $_POST["email"] ." " . $_POST["message"] ."\r\n";
mail($sendTo, $subject, $message, $headers);
?>
The code for the send button...
Code:
on(release) {
form.loadVariables("sendmail.php", "POST");
}
Then this AS is in the MC which contains the text fields...
Code:
onClipEvent(data){
nextFrame();
}
Bookmarks