5 Replies Latest reply on Feb 12, 2011 2:33 PM by kglad-zqbLf4

    URLRequest & NavigateToURL

    beno12345 Level 1

      Hi;

      I have this code:

       

      //            img.addEventListener(MouseEvent.CLICK, function () {trace('xxx')});
                  img.addEventListener(MouseEvent.CLICK, function () {navigateToURL(new URLRequest("SignUp.py"), "_blank")});

       

      The commented out line works when I click the image it traces. The second line doesn't, nor does it throw any error. What gives?

      TIA,

      Beno