0

I try to load a swf file to show on the stage, if the swf file has no external class, i use swfLoader.unload();, then ide consoln "Unloaded: E:\Projects\TweenTest\bin\ui.swf", but if the ui.swf has some external class references , use unload method can't get this message, it means it's not be unloaded in nature; How can I unload it?

tshepang
  • 12,111
  • 21
  • 91
  • 136
xin
  • 3
  • 2

1 Answers1

0

LoaderMax can't know what dependencies your subloaded swf creates or clean up its references to external objects/classes/NetStreams - you need to do that before you unload() or dispose(true).

Jack
  • 2,930
  • 17
  • 13