skip to main |
skip to sidebar
The codes :D
------SEND BUTTON----------
on (release) {
if (name eq "" or subject eq "" or message eq "" or email eq "") {
stop();
} else {
loadVariablesNum("form.php", 0, "POST");
gotoAndStop(2);
}
}
--------------------------
-------CLEAR BUTTON-------------
on (release) {
name = "";
subject="";
message="";
email="";
}
---------------------------------
---------------FORM.PHP------------
$to = "your_email@email.com";
$msg = "$name\n\n";
$msg .= "$message\n\n";
mail($to, $subject, $msg, "Message From: Online client\nReply-To: $email\n");
?>
--------------------------------
We love Compewters.
Welcome To COMPEWT Bringing you video tutorials and free resources for your "compewting" endeavours. Check Out the latest Flash Tutorial.
17 February 2010
Flash Contact Form
The codes :D
------SEND BUTTON----------
on (release) {
if (name eq "" or subject eq "" or message eq "" or email eq "") {
stop();
} else {
loadVariablesNum("form.php", 0, "POST");
gotoAndStop(2);
}
}
--------------------------
-------CLEAR BUTTON-------------
on (release) {
name = "";
subject="";
message="";
email="";
}
---------------------------------
---------------FORM.PHP------------
$to = "your_email@email.com";
$msg = "$name\n\n";
$msg .= "$message\n\n";
mail($to, $subject, $msg, "Message From: Online client\nReply-To: $email\n");
?>
--------------------------------
Labels:
Flash Contact Form
Subscribe to:
Post Comments (Atom)
Labels
- Add videos to your iPod (1)
- Demo (1)
- Flash Contact Form (1)
- Flash MP3 Player (1)
- Flash Tutorial 1: Tweening (1)
- Full Transformers Sig Tutorial (1)
- Screen Recorder (1)
Blog Archive
- Feb 14 - Feb 21 (1)
- Dec 20 - Dec 27 (1)
- Nov 29 - Dec 6 (2)
- Nov 8 - Nov 15 (1)
- Nov 1 - Nov 8 (5)
Copyright © 2009 Compewt | Design: Luka Cvrk | BloggerTemplate Converted by BloggerThemes.Net
7 comments:
George,
First of all thank you for posting that tutorial. It was really helpful. On the video, it doesnt show how to upload the file or link the server so I could receive the emails. Can you guide me through? Thanks in advance and looking forward to hearing from you soon.
Enrique (Miami)
I see, all you need to have a place to host the website, it has to be somewhere that makes used of PHP. I hope this is what you mean, sorry it has taken so long for me to get back to you.
doesn't work!
I'm trying to use this inside a movie clip and I keep getting a
TypeError: Error #1006: loadVariablesNum is not a function.
when
con_form.loadVariablesNum("form.php", 0, "POST");
runs
thanks for this
but mail in not coming in my id
:(
Thank you, George, but you forgot some things:
Replace your php with:
""
remove the exclamation marks in the php tags.
Post a Comment
Please keep it clean :)