2 Replies Latest reply on Oct 31, 2006 2:07 PM by ntsiii

    URLLoader  dose not work

    Kasem_Abotel Level 1
      Hi

      I am using the following code

      var request:URLRequest = new URLRequest
      (" http://localhost53000/flex/test1/report_name.txt");
      request.method = URLRequestMethod.POST;
      var loader:URLLoader = new URLLoader();
      loader.load(request);
      trace(loader.data);
      var variables:URLVariables = new URLVariables(loader.data);
      trace(variables.report);

      the report_name.txt file simpy has name value pair report=My Report
      when I execute this code , I also get loader.data as undefined and of course variables.report undefined
      what is missing

      I did not install the data service yet, I could not download from downloads

      any help is appreciated

      Thanks

      Kasem