Jump to content

flash contact form


jessmolchan
 Share

Recommended Posts

Well, the form itself will have to be written in HTML. http://www.w3schools.com/html/html_forms.aspThe actual form processing and the contact part, will be done in PHP.http://www.w3schools.com/php/php_mail.asp

Link to comment
Share on other sites

Well, the form itself will have to be written in HTML. http://www.w3schools.com/html/html_forms.aspThe actual form processing and the contact part, will be done in PHP.http://www.w3schools.com/php/php_mail.asp
But I can't put html in a flash document….can I?? Plus, I already have a form with text fields laid out, I just need to be able to take the information that is entered and send it to an email address…Thank you!
Link to comment
Share on other sites

sorry, I was under the impression you wanted to use PHP instead of Flash.I'm not too well versed with AS/Flash at all, but a quick google search turned up some promising results.http://www.google.com/#sclient=psy&hl=...895b6108693d27eIt appears you need to use a method called LoadVars, which will accept the php script to send the form content to and the method (POST or GET). It similar in structure to how the <form> tag is written in HTML (i.e. the action and method attributes).From there, you can process the contact information in the PHP script by check the POST or GET array, and then using the mail function to send the email. Here's one link outlining the process....http://www.actionscript.org/forums/showthread.php3?p=820701Hope that helps.

Edited by thescientist
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...