# On(release){ getURL NOT WORKING

**URL:** https://forum.kirupa.com/t/on-release-geturl-not-working/317490
**Category:** Uncategorized
**Created:** [December 22, 2010, 11:24am UTC](https://forum.kirupa.com/t/on-release-geturl-not-working/317490 "2010-12-22T11:24:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jelly46](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@jelly46](https://forum.kirupa.com/u/jelly46)
#### Post date: [December 22, 2010, 11:24am UTC](https://forum.kirupa.com/t/on-release-geturl-not-working/317490/1 "2010-12-22T11:24:57Z")

</div>

I am trying to create a button in flash CS5 and i anm using Actionscript 2.0

I have made a shape, converted it to a button, go to actions and put this script in:

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

It does not work at all!

I’ve tried every variation i know and the button is not working what exactly am i doing wrong?

What does **mouse events are permitted only for button instances** mean?

Please can you assist?

Thanks

Jelly

:face:
