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:
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);
}