0 Replies Latest reply on Jun 27, 2011 4:23 AM by flexillu10

    Using an XML file for server URL instead of hard coding

    flexillu10 Level 1

      I can't find a good example.


      Could someone give me an example of using a local XML file to set a server url variable so i don't have to hard code url's?


      This works and i can trace the xml file but how do i access the individual xml data nodes?



      protected function initApp():void 
           var loader:URLLoader = new URLLoader(new URLRequest("config.xml"));
      private function configLoadComplete(event:Event):void