How to stop it when moving from HOME to CONTACT page?


I have the following code on [COLOR=#ff0000]Home_mc[/COLOR] which is working fine. But when I move from [COLOR=#0000cd]Home_mc[/COLOR] to [COLOR=#ff0000]Contact_mc [/COLOR]it should stop. How can I stop it? What is the code, please.

var mySwf2:SWFLoader = new SWFLoader("Clouds.swf", {width:1000, height:400, container:this, onComplete:completeHandler2});
mySwf2.content.mask = MaskCloud_mc

function completeHandler2(event:LoaderEvent):void {, 0,{alpha:0});
    TweenMax.fromTo(, 3, {x:0, y:0, width:1000, height:400, alpha:1}, {x:0, y:0, width:1000, height:400, alpha:1, delay:0});