Skip to main content
May 10, 2012
Question

Actionscript 3 and _self

  • May 10, 2012
  • 1 reply
  • 1605 views

Hi Guys,

I'm trying to get a page to load in the same tab, instead of creating a new tab (like HTML target=""_self" instead of _blank)

I've tried a few different things I've found on different forums, nothign seems to be working though

This is what I'm trying..

function gotoManitoba(event:MouseEvent):void

{

var targetURL:URLRequest = new URLRequest("http://mydomain.com/flash/?p=44");

navigateToURL(targetURL, "_self");

}

MB.addEventListener(MouseEvent.CLICK, gotoManitoba);

It doesn't return an error, but the link doesn't work at all as long as the "_self" is in there.

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
May 10, 2012

Try posting that again

May 10, 2012

What?

Ned Murphy
Legend
May 10, 2012

Visit the forum to see what your posting looks like.