2 Replies Latest reply on Mar 13, 2009 2:39 AM by Tonibache

    navigateToURL - custom http header - AIR application

      I am trying to send a custom http header for the navigateToURL, But the Header "TestHeader" is not shown when the browser IE is opened.
      var header:URLRequestHeader = new URLRequestHeader("TestHeader", "TestHeader");
      var request:URLRequest = new URLRequest("");
      request.method = URLRequestMethod.POST;
      request.data = new URLVariables("name=testqs");

      try {
      } catch (error:Error) {
      trace("Unable to load requested document.");

      I am using FlexBuilder 3 /Flash 10/ IE 7
      Appreciate your valuable inputs.

      Is crossdomain.xml needed for an AIR application?
      Text Text