# Plz help - flash submit button

**URL:** <https://forum.kirupa.com/t/plz-help-flash-submit-button/151666>\
**Category:** flash\
**Created:** [June 17, 2005, 3:51am UTC](https://forum.kirupa.com/t/plz-help-flash-submit-button/151666 "2005-06-17T03:51:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nanogirl](https://avatars.discourse-cdn.com/v4/letter/n/edb3f5/32.png) [@nanogirl](https://forum.kirupa.com/u/nanogirl)\
**Post date:** [June 17, 2005, 3:51am UTC](https://forum.kirupa.com/t/plz-help-flash-submit-button/151666/1 "2005-06-17T03:51:10Z")

</div>

Hello everyone, please bear in mind that I am not script knowledgeable nor flash. I have a webpage

template that I purchased to modify for a website. There is a form already on it, and the send and

reset buttons are already symbol/buttons but that’s it. So I need to set these. I went looking

online to find out how. I ended up here [http://www.acky.net/tutorials/flash/forms/](http://www.acky.net/tutorials/flash/forms/) and pasted step

#9 into the empty script boxes. I didn’t know what to enter for the mailto section so I called my

domain host provider and they told me to mydomain with a cgibin formmail ending. The guy on the

phone also had me click the Matt’s scripts link at the bottom of the tutorial page above, and had

me copy and paste this whole thing

[http://www.scriptarchive.com/download.cgi?s=formmail&c=txt&f=FormMail%2Epl](http://www.scriptarchive.com/download.cgi?s=formmail&c=txt&f=FormMail%2Epl) from top to bottom

into notepad and name it formmail.pl he then told me to put this in my top level domain (the one

I’m working with is a virtual domain underneath the top level) inside of my ftp program (wich is

Macromedia Dreamweaver) and upload it. He said that’s all I would have to do… when I test the

## movie I get error messages -

**Error** Symbol=send, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler  
On (Release)

**Error** Symbol=send, layer=Layer 1, frame=1:Line 3: Syntax error.  
Load Variables (“[mailto:http://www.nanomations.com/www/cgi-bin/formmail.cgi](mailto:http://www.nanomations.com/www/cgi-bin/formmail.cgi)”, 1, vars=POST)

**Error** Symbol=send, layer=Layer 1, frame=1:Line 5: Syntax error.  
End On

**Error** Symbol=reset, layer=Layer 1, frame=1:Line 2: Statement must appear within on handler  
On (Release)

**Error** Symbol=reset, layer=Layer 1, frame=1:Line 4: Syntax error.  
Set Variable: “name” = “”

## Total ActionScript Errors: 5 Reported Errors: 5

I don’t think I’m doing everything right, and I must be missing something. Remember, I wouldn’t

know it as I don’t know anything about this stuff…so if someone could explain in baby language

or? Is the file named right in my ftp program? How do I have the send button go to my email

address? Am I supposed to change something in the file I got from Matts scripts, is this even the

file I should have, the whole page from Matts scripts? And that’s all? How do I direct the send

page to the confirmation page? I had to make one because there wasn’t one with the template…

also for the reset to I imagine reload the page to reset. Please help me, I have no idea what I am

doing…

update: after all of this I tried this route here instead-

[http://www.fwzone.net/showDetail.asp?TypeId=2&NewsId=756&LinkFile=flashform/page1.htm](http://www.fwzone.net/showDetail.asp?TypeId=2&NewsId=756&LinkFile=flashform/page1.htm)

Now I don’t get the errors, and when I do a test I see that the reset works, but the send goes to a

blank page, not the confirmation page, which I guess I am doing wrong, and it doesn’t seem to go to

my email, there must be a place where I put my email address? Now, I am getting even more confused,

please someone help me!

thank you in advance - Gina  
[www.nanogirl.com](http://www.nanogirl.com)

can I send this to someone?
