# Opening a flash button with a new tab

**URL:** <https://forum.kirupa.com/t/opening-a-flash-button-with-a-new-tab/265402>\
**Category:** flash\
**Created:** [July 8, 2008, 3:58pm UTC](https://forum.kirupa.com/t/opening-a-flash-button-with-a-new-tab/265402 "2008-07-08T15:58:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![benbear](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@benbear](https://forum.kirupa.com/u/benbear)\
**Post date:** [July 8, 2008, 3:58pm UTC](https://forum.kirupa.com/t/opening-a-flash-button-with-a-new-tab/265402/1 "2008-07-08T15:58:20Z")

</div>

So I have some buttons in my web site that go to other web sites but I really don’t want people to leave my site.

Is there a code I can use so browsers get the option to open the button in a new tab

on (release) {  
getURL(“[http://www.example.com](http://www.example.com)”)  
}  
This is the code I use (let’s say it links to [www.myspace.com/benbear76](http://www.myspace.com/benbear76))

Because if I right click the flashbutton all I get is the zoom in,zom out etc options.

Anyone ?
