# Get URL

**URL:** https://forum.kirupa.com/t/get-url/132829
**Category:** Uncategorized
**Created:** [January 2, 2005, 3:30pm UTC](https://forum.kirupa.com/t/get-url/132829 "2005-01-02T15:30:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![soulfunk](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@soulfunk](https://forum.kirupa.com/u/soulfunk)
#### Post date: [January 2, 2005, 3:30pm UTC](https://forum.kirupa.com/t/get-url/132829/1 "2005-01-02T15:30:34Z")

</div>

Hello guys  
I have created a button in flash, on that button I added

[font=Verdana][size=2][color=#000000][font=verdana][size=2]on (release) {  
getURL(“[http://www.google.com](http://www.google.com)”,"\_blank");[/size][/font][/color][/size][/font]  
[font=Verdana][size=2][color=#000000][font=verdana][size=2]} [/size][/font][/color][/size][/font]

## but I get an error when running it.

## Scene=Scene 1, Layer=Layer 4, Frame=37: Line 1: Mouse events are permitted only for button instances on (release) {

I don’t get it I am putting the code on a button why is this happening any ideas?
