# getUrl{} not working - flash CS3

**URL:** <https://forum.kirupa.com/t/geturl-not-working-flash-cs3/294744>\
**Category:** flash\
**Created:** [August 19, 2009, 10:47am UTC](https://forum.kirupa.com/t/geturl-not-working-flash-cs3/294744 "2009-08-19T10:47:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vidya\_V](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@Vidya\_V](https://forum.kirupa.com/u/Vidya_V)\
**Post date:** [August 19, 2009, 10:47am UTC](https://forum.kirupa.com/t/geturl-not-working-flash-cs3/294744/1 "2009-08-19T10:47:54Z")

</div>

I want 2 open an image in a blank window, when user clicks on the button.

I used the following coding to the button:  
on (Press) {  
getURL("[www.domainname.com](http://www.domainname.com), “\_blank”);  
}

But the above code is not working , when i click on it.

Please kindly help me to solve this problem. Also tell me the correct coding to open an image in new window.

**Please Note :** I want a jpg image has to be opened in seperate browser window, when i click on the button.
