# Email: What am I doing wrong?

**URL:** https://forum.kirupa.com/t/email-what-am-i-doing-wrong/269099
**Category:** flash
**Created:** [August 22, 2008, 2:35pm UTC](https://forum.kirupa.com/t/email-what-am-i-doing-wrong/269099 "2008-08-22T14:35:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![CapnPoptart](https://avatars.discourse-cdn.com/v4/letter/c/c0e974/32.png) [@CapnPoptart](https://forum.kirupa.com/u/CapnPoptart)
#### Post date: [August 22, 2008, 2:35pm UTC](https://forum.kirupa.com/t/email-what-am-i-doing-wrong/269099/1 "2008-08-22T14:35:01Z")

</div>

I’m frustrated! I’ve created a Flash CS3 animation for my DW contact page, then imported the swf into DW. The animation has a button to which I’ve added an email action in the actions palette. I’ve tried several versions of code, but each time I export the movie, upload the new html page to my server and test the button, instead of getting an email window with _my_ email address so people can contact me, I get one with the address "user@email.com" and “Feedback” in the subject line. It’s the same with different browsers and platforms.

I get this error in Flash when I test it:  
**Statement must appear within on handler**

Here are all the codes I’ve tried that haven’t worked:

on (release) {  
getURL("mailto:me@mywebsite.com?Subject=“Website Feedback”);  
}

* * *

on (release){ getURL("mailto:address@client.com", \_blank);  
}

* * *

getURL("mailto:me@mywebsite.com?Subject=Website Feedback");

* * *

on (release) {  
getURL("mailto:me@mywebsite.com?Subject=Website Feedback");  
}

* * *

What am I doing wrong? No one at the Adobe board could help me. I’m thinking of just junking the animation and making a static image, so I can get email…Any help will be really appreciated!

Thanks,  
Chris
