1 Reply Latest reply on Feb 29, 2008 4:24 PM by ntsiii

    Different XML paths for testing and deployment?

    Handycam Level 1
      When I'm authoring my project, I get my XML like this:

      <mx:HTTPService id="getData" url="xml/myXML.xml" result="dataHandler(event)" resultFormat="e4x"/>

      When the project is finally deployed on the web, I have been asked to use:

      <mx:HTTPService id="getData" url="/project/department/xml/myXML.xml" result="dataHandler(event)" resultFormat="e4x"/>

      I've been manually keeping both and commenting/un-commenting to work on this, and it's a pain. Is there a better way to manage the two different paths, one for authoring/debugging and the other for deplaoyment?