1 Reply Latest reply on Jan 11, 2007 11:07 AM by Dr Khaled

    navigateToURL error message!

    Dr Khaled
      Hi

      my application has the follow function:

      public var u:URLRequest = new URLRequest( " http://www.google.com/search?hl=en&q=" );

      private function nav():void
      {
      navigateToURL(u,"_blank");
      }

      But, I got this error message when i try to compile my application pointing to navigateToURL:
      Incorrect number of arguments. Expected no more than 1.

      thanks