|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
i have been through every single tutorial on the internet i think--and i still can't get my flash form to work. im using php to send me the data, but when i fill it out, i never receive anything in my email! i have tried SO many different ways, and i can get none to work. i have read a post, which had a problem like mine, on this board at (URL)--but when i put in the guy's code, it came up with an output box saying Scene=Scene 1, Layer=Buttons, Frame=1: Line 15: Statement must appear within on handler
scriptVars.onLoad = function (){" and so on. maybe I am not putting the code in at the right place, i have no idea... my form is located here if you want to take a look: URL and the actual file in .fla format is here (if you want to look at it) URL the code i have in my php file now is : <? $to = "maando@hotmail.com"; $msg = "$name\n\n"; $msg .= "$message\n\n"; mail($to, $url, $msg, "From: My web site\nReply-To: $email\n"); ?> and the action code i used in the flash file was the stop() for both frames (frame 1 which was the comment form & for frame 2 which was the thank you part) and then for the submit button i used: on (release) { if (name eq "" or message eq "" or email eq "") { stop (); } else { loadVariablesNum ("form.php", 0, "POST"); gotoAndStop (2); } } if someone could PLEASE take a few minutes and help me out, i would really appreciate it. I am new at this, so please try to explain to me & be specific on where to insert things....thanks!!!!!!!! \\edit: i put the wrong url to the page in but its now fixed Last edited by mandeieio : November 13th, 2003 at 04:59 PM. |
|
#2
|
||||
|
||||
|
I was just going to say that you should either put the entire URL when using action script.
Most of the time the answer is the most obvious thing.
__________________
- Infinityws.com - Providing Reliable Web Hosting Solutions Since 2000 - Web Hosting - Reseller Accounts - E-Commerce Packages - Free ClientExec License With ALL Reseller Accounts A Satisfied Customer
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > flash form actionscript help PLEASE |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|