# Flash button to URL

**URL:** https://forum.kirupa.com/t/flash-button-to-url/305305
**Category:** flash
**Created:** [February 23, 2010, 9:37am UTC](https://forum.kirupa.com/t/flash-button-to-url/305305 "2010-02-23T09:37:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![shaildeogam](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@shaildeogam](https://forum.kirupa.com/u/shaildeogam)
#### Post date: [February 23, 2010, 9:37am UTC](https://forum.kirupa.com/t/flash-button-to-url/305305/1 "2010-02-23T09:37:36Z")

</div>

Hi,

I am trying to add a script to button which will direct me to another webpage. It is working when I run the swf file. But when I include this swf file to my webpage, nothing happens when I click that button.

my script on the button is:

on (release)  
{  
getURL (“[http://www.yahoo.com](http://www.yahoo.com)”,"\_blank",“get”);  
}

Please help!

Thanks in advance!
