# Email button - FlashCS3, AS2.0

**URL:** <https://forum.kirupa.com/t/email-button-flashcs3-as2-0/243608>\
**Category:** Uncategorized\
**Created:** [November 8, 2007, 8:49pm UTC](https://forum.kirupa.com/t/email-button-flashcs3-as2-0/243608 "2007-11-08T20:49:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kuteykat](https://avatars.discourse-cdn.com/v4/letter/k/919ad9/32.png) [@kuteykat](https://forum.kirupa.com/u/kuteykat)\
**Post date:** [November 8, 2007, 8:49pm UTC](https://forum.kirupa.com/t/email-button-flashcs3-as2-0/243608/1 "2007-11-08T20:49:51Z")

</div>

I have a flash file and I have 2 buttons at the end that I want to link to emails addresses. I’ve been using the code:

on(press){  
getURL("mailto:you@email.com")  
}

I don’t have these on an action layer, but on the frame containing the button. All of this works, but when I click the link, a blank html page pops up in addition to a new email form in my email program (thunderbird.)

Does anyone have a solution to this? Or an easier way to link two different buttons to two different email addresses?

TIA!
