Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 13th, 2003, 04:57 PM
mandeieio mandeieio is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 mandeieio User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy flash form actionscript help PLEASE

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.

Reply With Quote
  #2  
Old November 14th, 2003, 11:47 AM
RedDog's Avatar
RedDog RedDog is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Toronto
Posts: 167 RedDog User rank is Sergeant (500 - 2000 Reputation Level)RedDog User rank is Sergeant (500 - 2000 Reputation Level)RedDog User rank is Sergeant (500 - 2000 Reputation Level)RedDog User rank is Sergeant (500 - 2000 Reputation Level)RedDog User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 31 m 20 sec
Reputation Power: 14
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > flash form actionscript help PLEASE


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT