Skip navigation
    6 Replies Latest reply on Jun 2, 2011 12:10 PM by Ned Murphy

    *Want to close the present window before going to the url page.

    tseyigai Level 1

      *Want to close the present window before going to the url page.

      Hi,
      I'm using the script below to go to url function in actionscript 3, and it works fine:

      btn.addEventListener(MouseEvent.CLICK,e);

      function e(e:MouseEvent):void{
      navigateToURL(new URLRequest("http://www.angelfire.com/in/HisTruth/copyofindex.html"));
      }


      It's fine but I want the first window to close and then open up into the one its pointing to.
      How should I add the correct script to this?

      Tseyigai

        More Like This

        Legend

        • Correct Answers - 10 points