# \[Flash CS3 AS2\] External SWF Tween can't unload after loaded! HELP!

**URL:** <https://forum.kirupa.com/t/flash-cs3-as2-external-swf-tween-cant-unload-after-loaded-help/310928>\
**Category:** Uncategorized\
**Created:** [June 23, 2010, 6:42am UTC](https://forum.kirupa.com/t/flash-cs3-as2-external-swf-tween-cant-unload-after-loaded-help/310928 "2010-06-23T06:42:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnsonjjj](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@johnsonjjj](https://forum.kirupa.com/u/johnsonjjj)\
**Post date:** [June 23, 2010, 6:42am UTC](https://forum.kirupa.com/t/flash-cs3-as2-external-swf-tween-cant-unload-after-loaded-help/310928/1 "2010-06-23T06:42:21Z")

</div>

Hi all,

I have a gallery with tween effect which allows the photos to change size.

However, after loaded photos work but i can’t unload it!

If i change the **1** to **\_mc** , it’s able to unload but then **tween** won’t work.:ex:

Feels like i am missing something basic and it’s driving me mad.:dracula:

Thanks to anyone can help! appreciated for your time.

Here is the code:

```auto
 
var _mcl:MovieClipLoader = new MovieClipLoader();
var _listener:Object = new Object();
_listener.onLoadInit = function(_mc:MovieClip)
{
    trace("Loading...");
 _mc._x = 100;
 _mc._y = 10;
 
}
_mcl.addListener(_listener);
this.createEmptyMovieClip("_mc", this.getNextHighestDepth());
_mcl.loadClip("container.swf",1);
xx.onRelease = function(){
 
 _mcl.unloadClip(_mc);
}

```
