# getURL problem

**URL:** https://forum.kirupa.com/t/geturl-problem/298281
**Category:** Uncategorized
**Created:** [October 15, 2009, 8:40pm UTC](https://forum.kirupa.com/t/geturl-problem/298281 "2009-10-15T20:40:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![virgil2oct](https://avatars.discourse-cdn.com/v4/letter/v/a8b319/32.png) [@virgil2oct](https://forum.kirupa.com/u/virgil2oct)
#### Post date: [October 15, 2009, 8:40pm UTC](https://forum.kirupa.com/t/geturl-problem/298281/1 "2009-10-15T20:40:49Z")

</div>

I am using CS4 for Mac, and am still using action script 2.0

when i make a button and use the code:

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

it works perfectly when i test the program, but when i publish it and run the program the button does not function. what could be causing this problem?

Thank you.
