# Is there a good workaround for swf unloading?

**URL:** <https://forum.kirupa.com/t/is-there-a-good-workaround-for-swf-unloading/297331>\
**Category:** Uncategorized\
**Created:** [September 30, 2009, 11:02am UTC](https://forum.kirupa.com/t/is-there-a-good-workaround-for-swf-unloading/297331 "2009-09-30T11:02:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nauris\_skulme](https://avatars.discourse-cdn.com/v4/letter/n/e5b9ba/32.png) [@nauris\_skulme](https://forum.kirupa.com/u/nauris_skulme)\
**Post date:** [September 30, 2009, 11:02am UTC](https://forum.kirupa.com/t/is-there-a-good-workaround-for-swf-unloading/297331/1 "2009-09-30T11:02:43Z")

</div>

Hi

A few weeks ago i run into the as3 memory bug that prevents unloading external swfs and data in general from memory. After reading about flash GC i managed to get JPGs to unload (using:  
[LIST]  
[_]unload method of loader and  
[_]Bitmap(image).bitmapData.dispose();  
[_]along with removing childs and  
[_]setting everything to  
[\*]null when its not needed anymore).  
[/LIST]  
But i still dont know how to unload swfs.

The thing is the swf im operating with are simple animations. I even removed all the code from time lines and settled with just plain motion tweens so that acording to this article :  
[http://www.gskinner.com/blog/archive...e\_to\_unlo.html](http://www.gskinner.com/blog/archive...e_to_unlo.html)  
i could avoid problems - didnt work!

Is there any as3 success story with unloading swfs?
