# Open URL from button

**URL:** <https://forum.kirupa.com/t/open-url-from-button/179311>\
**Category:** flash\
**Created:** [February 18, 2006, 6:50pm UTC](https://forum.kirupa.com/t/open-url-from-button/179311 "2006-02-18T18:50:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![o111](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/o111/32/2123_2.png) [@o111](https://forum.kirupa.com/u/o111)\
**Post date:** [February 18, 2006, 6:50pm UTC](https://forum.kirupa.com/t/open-url-from-button/179311/1 "2006-02-18T18:50:47Z")

</div>

This is probably the easiest thing, but its still a problem for me!  
I have a button I want to get to a website with.  
I know its just to put the getURL() code, but it isnt just to write:  
“getURL([http://www.example.com](http://www.example.com))” is it? It says something about getURL(url,window,method);. Whats the window and method?

Or simply, whats the code I need to write on the button I want to open “[http://www.home.no/oyvindr](http://www.home.no/oyvindr)” with? (I want to open it in a new window.)
