# AS: help with getURL

**URL:** <https://forum.kirupa.com/t/as-help-with-geturl/164642>\
**Category:** flash\
**Created:** [October 3, 2005, 5:52pm UTC](https://forum.kirupa.com/t/as-help-with-geturl/164642 "2005-10-03T17:52:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wo1olf](https://avatars.discourse-cdn.com/v4/letter/w/278dde/32.png) [@wo1olf](https://forum.kirupa.com/u/wo1olf)\
**Post date:** [October 3, 2005, 5:52pm UTC](https://forum.kirupa.com/t/as-help-with-geturl/164642/1 "2005-10-03T17:52:53Z")

</div>

I’m having a strange problem with getURL.  
in my flash file, i have two buttons one for an email link and another one for a site link  
here is the code  
btn\_site.onRelease=function(){  
getURL([http://www.siteadress.com](http://www.siteadress.com), “\_blank”);  
}  
// goes to the site [www.siteadress.com](http://www.siteadress.com)

btn\_mail.onRelease=function(){  
getURL([mailto:email@domainName.com](mailto:email@domainName.com));  
}  
// open outlook express to send an email to [email@domainName.com](mailto:email@domainName.com)

when i test it in flash (Ctr+enter) only the button linking to the site works, but the email button doesn’t work.  
And when i preview it in html, only the the email button works, but the site button doesn’t work.  
Does anyone know how can i make both buttons work properl?
