I usually work in desktop application and we like it or not flash is optimized for the web so normally we have to put complete event ever time we load anything, and itâ€™s logic, because for the web things have to be asynchronous but for desktop applications they not.
We have already load text and xml files synchronous and done some things with sql lite synchronous, I think for now images and sounds canâ€™t be done, because even if you get the bytes, you always need to invoke loadBytes method from the loader and put a complete event listener, fuck! lol, I hope that in the next release of flash the loader have an synchronous method of load the bytes.
There itâ€™s a class to load an xml file synchronous.
How to use:
var configXml:XML = XmlLoader.load("Config.xml");