Create a Loader object:
var loader:Loader = new Loader(); //import
Add listeners on the loader. Standard ones are complete and io/security errors
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete); //when the loader is done loading, call this function
loader.co...