10 Replies Latest reply on Mar 17, 2010 7:01 AM by scrubhead

    URLRequest in extended Application Class fails

    scrubhead Level 1

      I have extended my Application Class and try to load external xml file as such:





      class ReserverComponent extends Application






      scheduler:XML = new XML();

      scheduler.ignoreWhite =



      var myXMLURL:URLRequest = new URLRequest("scheduler.xml");


      var myLoader:URLLoader = new URLLoader(myXMLURL);


      "complete", xmlLoaded);


      function xmlLoaded()


      process xml .....





      But for some reason the instance of myLoader never loads the URLRequest?

      The code works when its in the (root)Application Class but not in extended Clas file?

      Any one tell me what I need to do here?