11 Replies Latest reply on Jul 16, 2009 1:19 PM by JSayani

    Navigate to URL - help.

    JSayani

      Hi,

       

      I am trying to open a URL in computer's default browser when a button on the page is clicked.

       

      Here is the JavaScript:

       

      var url = "http://www.adobe.com"; 
      var urlReq = new air.URLRequest(url);
      air.navigateToURL(urlReq);

       

       

      I am getting error:

       

      TypeError: Undefined value

       

      Whats wrong ??