hi,
this is what i’m using to load a swf file into a movie clip on stage. (mainAnimationHolder)
loadAnimation = function() {
var animationLoader:MovieClipLoader = new MovieClipLoader();
var animationLoaderListener:Object = new Object();
animationLoaderListener.onLoadProgress = function(target,loaded,total) {}
animationLoaderListener.onLoadComplete = function() {
// something happens
}
animationLoader.addListener(animationLoaderListener);
animationLoader.loadClip("flash/animation.swf",mainAnimationHolder);
}
this works perfectly.
Now what i want to do is, UNLOAD/DELETE the swf file from mainAnimationHolder.
The function runs on _root
Could anyone help me?
Thx