# Is there a good workaround for swf unloading?

**URL:** <https://forum.kirupa.com/t/is-there-a-good-workaround-for-swf-unloading/297330>\
**Category:** flash\
**Created:** [September 30, 2009, 10:54am UTC](https://forum.kirupa.com/t/is-there-a-good-workaround-for-swf-unloading/297330 "2009-09-30T10:54:48Z")\
**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, 10:54am UTC](https://forum.kirupa.com/t/is-there-a-good-workaround-for-swf-unloading/297330/1 "2009-09-30T10:54:48Z")

</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  
[/LIST] null when its not needed anymore).  
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 :

> **[Failure to Unload: Flash Player 9's Dirty Secret - gskinner blog](http://blog.gskinner.com/archives/2008/04/failure_to_unlo.html)**
>
> It is nearly impossible to make Flash Player 9 properly unload ActionScript 3 content... In this article, I'll take an in-depth look at the issue, it's implications, suggestions for addressing the problem in the player, and some workarounds for the...

  
i could avoid problems - didnt work!

Is there any as3 success story with unloading swfs?
