AS3 URL links open in new page? Why?

Can someone help me with this line of code?
When the button is pressed, it tries to open in a new tab or in a new window (depending on if you are using Firefox or IE) and first gets blocked by the pop up blocker.

How can I make this where it opens without targeting “_blank” ???

{
    var targetURL:URLRequest = new URLRequest("http://nameofwebsite.com/about.htm");
    navigateToURL(targetURL);
this.addEventListener(MouseEvent.CLICK, goURL);
}

Thanks in advance!

Hi,

I’m trying to get my links to open in a new tab, not a new window. I have tried using all of the above. They just open the link in the tab that I am already in… I want my page to stay open but don’t want the new page to open in a new window.

I don’t understand :crying:

Any ideas?

Cheers,

DGL

(IE7, AS3)