Unloading AS3 content
April 8, 2008
Grant Skinner has posted a very informative article about the issues of unloading content in AS3.
Currently we’re facing the same problems (loading / unloading third-party content) in our main application. We handle unloading by providing some API events (“onRemove” etc.) and clearly stating in the API docs that it is the developer’s responsibility to clean up everything (basically that is the second option in his article under “Workarounds and strategies”).
Far from perfect – especially if content developers aren’t aware of those issues – but probably the best thing you can do for now.
Filed under: Flex/AS3