Page 1 of 1

Play only one audio at a time

Posted: Mon Jul 08, 2019 8:06 pm
by stanfordhealthcare
Hi all, I've developed a project that has multiple hotspots. Clicking each will play an associated audio, specified using action "play media" in the skin hotspot template. But they can play over each other. To avoid this, I added a bunch of actions to each one which "stop media" for every other audio file on the skin. This is tedious when I have an audio update, going through to sub all the other "stop" actions.
Is there a method to specify either that only one audio can play at a time, or to "stop all" audio before playing a new one?
Thanks!

Re: Play only one audio at a time

Posted: Mon Jul 08, 2019 10:46 pm
by Hopki
HI,
Try Stop Media, Target: _main.
This should stop all media in one action.
Regards,
Hopki

Re: Play only one audio at a time

Posted: Tue Jul 09, 2019 10:45 pm
by stanfordhealthcare
Awesome! Thanks so much!