1 Reply Latest reply on Aug 24, 2009 3:51 AM by niroshan_fernandez

    navigateToURL behave differently in adove air


      Hi All,


      I have used navigateToURL in flash to navigate to a dirrerent URL and this works fine in the browser but when I used it with my adobe air application it behave differently. I have used "_SELF" as the target but in AIR, the new URL still open up as a new window. Is anyone has this same problem? How can i open the new URL in the same window? Please find below my flash code. Im using flash CS3 professional.


      var url:String = "http://localhost/Flash/login/welcome.php";
      var request:URLRequest = new URLRequest(url);
      try {               
             navigateToURL(request, '_SELF'); // second argument is target
      } catch (e:Error) {
        trace("Error occurred!");


      Thanks In advanced,


      best regards,