1 Reply Latest reply on Jan 30, 2011 2:56 PM by Anthizumal

    Opening URL in same window AS3

    Anthizumal

      Hi, I am trying to open a URL without opening a new browser tab, Im using AS3, heres what I have so far:

       

      resportbutton.addEventListener(MouseEvent.CLICK,gopf);

      function gopf(e:MouseEvent){

           var request:URLRequest = new URLRequest("portfolio.html");

           navigateToURL(request);

      }

      Thanks mucho =]