0 Replies Latest reply on Jan 10, 2008 6:54 AM by Handycam

    Conditional XML file path?

    Handycam Level 1
      I author and test my Flex project locally, then upload it to a server for others to test and for deployment.

      So my initial path is:
      <mx:HTTPService id="getData" url="xml/mydata.xml" result="dataHandler(event)" resultFormat="e4x"/>

      But then I need to change it to: /myserver/myproject/department/xml/data.xml"

      Is there a way to handle this switch in code automatically?