Hi there,
I have created a flash website and on there I have a contact form in flash. I have configured it so it sends the data to php and to my email which all works fine. The only problem is, I can’t get flash to go to the next frame in order to tell the user that the form has been submitted.
I looked on your tutorial and tried:
[color=#0000d0]onClipEvent[/color]color=#0000ff{[/color] [color=#0000d0]_root[/color].[color=#0000d0]nextFrame[/color]color=#0000ff[/color]; [color=#0000ff]}[/color] but it didn’t work. I want the MovieClip (that holds the form) to go from frame 80, to 81. Does php automatically respond to flash or do i have to insert a line to get it to respond? My php code is:
<?php
$_GET[‘name’];
$_GET[‘company’];
$_GET[‘email’];
$_GET[‘comments’];
$sendTo = “jturner@ljmedia.co.uk”;
$subject = “Contact Form”;
$headers = “From: $_POST[name]<$_POST>
Reply-To:$_POST[email]";
$message = “Name:$_POST[name]
Phone:$_POST[company]
Email:$_POST[email]
Comments:$_POST[comments]”;
mail($sendTo, $subject, $message, $headers);
$sendTo = $_POST[‘email’];
$subject = “Thanks for your email”;
$body = “You will receive a reply shortly”;
$headers = "From: [email=“info@ljmedia.co.uk”]info@ljmedia.co.uk”;
mail($sendTo, $subject, $body, $headers);
?>
Hope you guys can help. Thanks.