public function unload():void{
try{
(_loader.content as IDisposable).dispose();
}
catch(e:Error){
_logger.error("unload 1:" + e.message);
}
try{
_loader.unloadAndStop();
}
catch(e:Error){
_logger.error("unload 2:" + e.message);
}
_loader.visible = false;
}
try{
(_loader.content as IDisposable).dispose();
}
catch(e:Error){
_logger.error("unload 1:" + e.message);
}
try{
_loader.unloadAndStop();
}
catch(e:Error){
_logger.error("unload 2:" + e.message);
}
_loader.visible = false;
}