0 Replies Latest reply on May 17, 2010 9:58 AM by ricowen

    running a local php script with use-network=false

    ricowen

      A Flex app uses a HTTPService to run a a php script via a web server with use-network=true.  I compile the same flex app with use-network=false, and want to run the same php script using a url like ./myscript.php, when the swf is loaded with a file-URL.  The script does not run, but does get returned as the result (format=text). Any ideas? Thanks.

       

      sendADHOC.url = "./runchartadhoc.php";

      sendADHOC.method = "POST";
      sendADHOC.resultFormat = "text";
      sendADHOC.showBusyCursor=true;
      sendADHOC.requestTimeout=60;
      sendADHOC.addEventListener("result", runadhocResult);
      sendADHOC.addEventListener("fault", runadhocFault);

      sendADHOC.send();