-
Clicking button to next scene, the first music clip still plays....
I have a button that basically skips to the next scene, both scenes have a music clip attached, when I advance to scene 2 the first music clip is still playing, and the new one starts.
I have tried the stop sound command but this stops music all together.
How do I just stop the first music clip from playing when I advance to scene 2 by clicking a button?
-
you need to call stopAllSounds() before entering the frame containing sound in the next scene or before you start your next sound object.
perhaps you can place the stopAllSounds() in the skip button before all other code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|