3 Replies Latest reply on Jun 27, 2008 6:50 AM by Selvam_flex

    data is not passing to the document opened in a new window using navigateToURL() method

    advikas
      Hi,
      I have created a flex application ,in that i am loading another document in a new window using
      navigateToURL() and passing the data to the new doucment using post method.
      the sample code is as follows.

      var oRequest:URLVariables = new URLVariables();
      oRequest.topic= "science";
      var request:URLRequest = new URLRequest("sample.aspx");
      request.data = oRequest;
      request.method="POST"

      navigateToURL(request,"_blank");

      This is working fine if i execute the application.it opens file in new window and passes the parameter values.

      if the flex application is loaded in a iframe of another site, in that the above code is not passing to the file which is opened in a new window.

      Any one please suggest me why the data is not passing to the new file which is opened in a new window if the flex application is loaded in some site.

      Thank you for your time and considerations

      regards
      advika