0 Replies Latest reply on Sep 15, 2010 2:32 AM by venkateshk

    unable to find xml file in build release

    venkateshk Level 1

      Hi........

      I have developed a dashboard application in flex

      I have taken a xml file in that i put the server ip address assets/path.xml

       

      <path>
          <server>http://coolapps.cybertech.com/geocommunicator/Incidents/GetIncidentsBetweenDates?</server>
          <image>http://coolapps.cybertech.com/geocommunicator/Incidents/GetImage/</image>
          <audio>http://coolapps.cybertech.com/geocommunicator/Incidents/GetAudio/</audio>
      </path>

       

      in main application im using this as follows

      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" preinitialize="loadXML()" creationComplete="init()" xmlns:local="*"
           paddingBottom="5" paddingLeft="0" paddingTop="0" paddingRight="0"
           width="100%" height="100%" verticalGap="2" backgroundColor="#FFFFFF">

       

           in loadXML() im using mx.rpc.http.HTTPService, with this im giving the url path as "assets/path.xml" and getting the server IP address

           after getting IP address im saving them in AS class and binding them in main application

           in init() by using this server IP address im connecting to the remote server

           it's working fine when im running this application in Flex Builder

           but after taking the build release it's unable to locate the "assets/path.xml" file here it's giving me the fault event