# Problems with getURL targeting - loading into \_self \[renamed\]

**URL:** https://forum.kirupa.com/t/problems-with-geturl-targeting-loading-into--self-renamed/161189
**Category:** flash
**Created:** [September 1, 2005, 5:30pm UTC](https://forum.kirupa.com/t/problems-with-geturl-targeting-loading-into--self-renamed/161189 "2005-09-01T17:30:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![justme](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@justme](https://forum.kirupa.com/u/justme)
#### Post date: [September 1, 2005, 5:30pm UTC](https://forum.kirupa.com/t/problems-with-geturl-targeting-loading-into--self-renamed/161189/1 "2005-09-01T17:30:46Z")

</div>

Hi!

I’m having a problem using getUrl, can anyone pleeease help??

I’ve written my own code and used code from here:

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

Everything works fine while testing in Flash, but if you try to load a page into “\_self” whilst in a browser window, nothing happens. I’m sure this is something really simple I’ve missed, but what???

The code I’m using is from a function and goes like this…

//release instructions from function  
mc.onRelease = function() {  
this.gotoAndStop(“down”);  
this.btnMask.\_x = btnOut;  
getUrl (link, “\_self”);  
}

//function call  
btnMC1.onEnterframe =  
function() {  
menuControl(this, “[http://www.google.co.uk](http://www.google.co.uk)”)  
};

Everything’s working fine, except loading pages into \_self. Can anyone please help??

Cheers in advance!!
