December 8, 2025
Question
Audio stops in the next scene despite the stopping audio command being in the first scene.
- December 8, 2025
- 1 reply
- 162 views
Hello, very simple issue. I have BG music playing on a scene, and I have a button that takes you to the next scene. I also have a sound stop command set to stop all the sounds in the scene. However, the next scene has new music and when I click the button that new music immediately stops too. I have tried adding more frames between the start of the scene and the start of the music but to no avail. If anyone knows how to fix this, please let me know. (It's probably really simple...) ((Using Adobe Animate 2025)) (((And Actionscript 3))) ((((I also submitted the swf file but idk if that's any help idk))))
CODE LISTED BELOW
movieClip_5.addEventListener(MouseEvent.CLICK, fl_ClickToStopAllSounds_9);
function fl_ClickToStopAllSounds_9(event:MouseEvent):void
{
SoundMixer.stopAll();
}
movieClip_5.addEventListener(MouseEvent.CLICK, fl_ClickToGoToScene_4);
function fl_ClickToGoToScene_4(event:MouseEvent):void
{
MovieClip(this.root).gotoAndPlay(1, "Stage Select");
}