I wonder if it is possible to make unload
of a swf
in iOS. I am currently doing an iOS project using Adobe Air and my class is as follows:
function foo()
{
var m_lc:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
CustomUrl = new URLRequest(swfName.swf");
myLoader.load(CustomUrl,m_lc);
}
function unloadSWF(){
myLoader.unloadAndStop();
}
On the console it does the Load
of swf, but does not unload
of its swf
, nor even calling the garbage collector
it cleans. Is there any efficient way to wipe swf
in memory?