6 Replies Latest reply on May 10, 2012 1:02 PM by Ned Murphy

    Actionscript 3 and _self


      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.