I want to make a contact form for my flash website and I'm using this code but don't know where my email goes.?
-
// C o p y r i g h t © f l a s h m o . c o m // D e v e l o p e d b y M i n T h u contact_name.text = contact_email.text = contact_subject.text = contact_message.text = message_status.text = ""; send_button.addEventListener(MouseEven… submit); reset_button.addEventListener(MouseEve… reset); var timer:Timer; var var_load:URLLoader = new URLLoader; var URL_request:URLRequest = new URLRequest( "send_email.php" ); URL_request.method = URLRequestMethod.POST; function submit(e:MouseEvent):void { if( contact_name.text == "" || contact_email.text == "" || contact_subject.text == "" || contact_message.text == "" ) { message_status.text = "Please fill up all text fields."; } else if( !validate_email(contact_email.text) ) { message_status.text = "Please enter the valid email address."; } else { message_status.text = "sending..."; var email_data:String = "name=" + contact_name.text + "&email=" + contact_email.text + "&subject=" + contact_subject.text + "&message=" + contact_message.text; var URL_vars:URLVariables = new URLVariables(email_data); URL_vars.dataFormat = URLLoaderDataFormat.TEXT; URL_request.data = URL_vars; var_load.load( URL_request ); var_load.addEventListener(Event.COMP… receive_response ); } } function reset(e:MouseEvent):void { contact_name.text = contact_email.text = contact_subject.text = contact_message.text = message_status.text = ""; } function validate_email(s:String):Boolean { var p:RegExp = /(\w|[_.\-])+@((\w|-)+\.)+\w{2,4}+/; var r:Object = p.exec(s); if( r == null ) { return false; } return true; } function receive_response(e:Event):void { var loader:URLLoader = URLLoader(e.target); var email_status = new URLVariables(loader.data).success; if( email_status == "yes" ) { message_status.text = "Your message was sent. Thank you for taking interest in the MSOE Fishing Team"; timer = new Timer(500); timer.addEventListener(TimerEvent.TI… on_timer); timer.start(); } else { message_status.text = "Your message could not be sent."; } } function on_timer(te:TimerEvent):void { if( timer.currentCount >= 10 ) { contact_name.text = contact_email.text = contact_subject.text = contact_message.text = message_status.text = ""; timer.removeEventListener(TimerEvent… on_timer); } }
-
Answer:
You need to lookup 'send_email.php' Open up with text editor and look for an email address.
Scott at Yahoo! Answers Visit the source
Related Q & A:
- Is there any way I can get my MSN password back if I don't know the secret question that it asks?Best solution by Yahoo! Answers
- I want to make a video from "Windows Movie Maker.Best solution by Yahoo! Answers
- How do I find a certain tv channel if I don't know what number it is?Best solution by timewarnercable.com
- I want to make a longboard, what type of wood should I make it out of.Best solution by Yahoo! Answers
- I want to make a free slide show.Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.