Hello. Well i have a swf(actualy the logo) and the swf has sound. The problem is that the sound of the swf will not stop after the swf is removed form the stage. the code is like this:
[Embed(source="../assets/logo.swf")]private const movie:Class;
private var swf:MovieClip = new movie();
Public function Title(){
if (FP.stage)
{
FP.stage.addChild(swf);
}
swf.stage.frameRate = 30;
swf.x -= 24;
}
override public function update():void
{
if (time == 0)//after the swf finish
{
swf.stage.frameRate = 60;
bg1 = addGraphic(background);
FP.stage.removeChild(swf);
G.splash1 = false;
bg1.layer = 99;
add(new PlayButton(112, 100));
//timerFade = 40;
}
}
Any ideas? THX.