0 Replies Latest reply on Nov 20, 2007 11:42 AM by TimOnBar

    xml data using httpservice

    TimOnBar
      I am trying the new Flex 3 Beta. On my local machine I am referring to data in results.xml stored in the same folder as the mxml. When I run the program, I get a prompt for local host, choose cancel and my sheet with the data comes up great. Problem: if I copy the project to put on another machine when running the program I get an error and the screen comes up blank. The error is #2148 swf file cannot access local resource file ("even though the path is correctly displayed!")...followed by.... Only local-with-filesystem and trusted local SWF files may access local resources. I am not using any local webhosting, just want to be able to present the flex application and data on another computer. Below is the line from my mxml file defining the HTTPService, data comes from results.xml

      <mx:HTTPService id="srv" url="results.xml" useProxy="false" result="resultHandler(event)"/>