Email button - FlashCS3, AS2.0

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:[email protected]")
}

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!