Forum Discussion
JimMurtagh-bd85
4 years agoCommunity Member
Button to Play MP3 (not as easy as I thought)
My project has 15 buttons. Each button triggers an MP3 file about one minute long to play. That's the easy part. When I press a button, I want to stop playing any other audio file that may already b...
MariaCS
4 years agoStaff
Hi, Jim.
Thank you for reaching out!
Tom's suggestion above is ideal, but I wanted to offer an alternative, in case you wanted to keep the audio on the base layer:
- Create a layer that stops all audio when the timeline starts:
- Add the trigger to Show this layer (in the example above, it's called Stop Audio) to each button that also plays audio. The order of triggers is important here, as you will want the show layer trigger to execute first:
I hope this helps!
Related Content
- 12 months ago
- 9 months ago