Hi,
I am using the following code to load an external SWF. I want to unload it after 15 seconds. How can I unload it? Please help me in this regard.
var mySwf1:SWFLoader = new SWFLoader("Clock.swf", {width:200, height:200, x:-300, y:-300, container:this, onComplete:completeHandler1});
mySwf1.load();
function completeHandler1(event:LoaderEvent):void {
TweenMax.fromTo(event.target.content, 3, {x:270, y:250, scaleX:.5, scaleY:.5, alpha:0}, {x:270, y:250, scaleX:2, scaleY:2, alpha:1, delay:3});
}