# Trouble using getURL function

**URL:** https://forum.kirupa.com/t/trouble-using-geturl-function/198831
**Category:** flash
**Created:** [August 28, 2006, 11:51pm UTC](https://forum.kirupa.com/t/trouble-using-geturl-function/198831 "2006-08-28T23:51:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![absriram](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@absriram](https://forum.kirupa.com/u/absriram)
#### Post date: [August 28, 2006, 11:51pm UTC](https://forum.kirupa.com/t/trouble-using-geturl-function/198831/1 "2006-08-28T23:51:49Z")

</div>

Hi,

I have designed a flash animation for a website and at the end of the animation I have a button that takes the user to a html page. I have the following code in the last frame of the movie

btnFinish.onRelease = function() {  
getURL(“[http://www.google.com](http://www.google.com)”, \_self);  
}

I want the new page to open in the same window as the movie. But the button opens the page in a new window. I also tried substituting \_self with \_parent but it still does not work.

Am I missing something.

Thanks in Advance.

Sriram.
