How do a sound STOP after one touch?

I have a project due tonight. Basically what I'm doing, it's having a scene with a background music (lets call this Song1), but when the animation starts a key and the music goes to an audio clip that we'll call Sound2. I got the button work so now when you press it the animation starts and playing Song2. I was also able to get Song1 to play when the button has not been pressed.  But the way it works now, when the button is pressed the TWO Song1 and Song2 play and it looks horrible. How do Song1 click the button? I thought that I could call it with this.stop (); the Manager button but that didn't work. Any ideas? Thanks for reading!

Your "this.stop" is a clue that you could use CreateJS / THML5 canvas. If this is the case, you can stop the sound with creatjs. Sound.Stop ();

Tags: Adobe Animate

Similar Questions

Maybe you are looking for