How to prevent audio from playing when returning to slide

Oct 18, 2012

Hello! I would like to find an elegant way to prevent the audio from playing if a user returns to a "main menu" slide.

Let's say that I have a slide that requires a user to view 4 scenarios by clicking on 4 objects. The audio on this "main menu" slide plays and completes. The user clicks one of 4 objects that take them to view a Scenario on a new slide. When they are done viewing a scenario, they click next which returns them to the "main menu" slide with the 4 objects they must click.  (I'm using states to keep track of when user has visited each object/scenario.)

It is uncool to re-play the original audio each time they return to the main menu. I tinkered with triggers but could not figure out how to stop the audio from playing on their subsequent visits to the slide. I have a workaround that will suffice for now. 

I appreciate your ideas! -Jill

35 Replies
Jose Tansengco

Hi Nina, 

Happy to chime in!

The 'Use count' of 5 was automatically added by Storyline 360 based on how many times triggers referenced the variables. Most of the count is for the triggers that are found in the layers of the menu items: 

Since you are interested in signing up for training sessions, I wanted to invite you to our tips and tricks webinars. Once each month at 11am ET, our training team hops on a live call to answer top questions from our customers.

It's super casual (and they're super smart!), so it's a great place to get expert tips and answers to frequently asked questions from our online community. In short, everything you need to create incredible online learning! You can register for the next call here: https://articulate.fyi/3ZiKgu9

And don't worry if you can't make it, because everyone who registers will get a recording sent to them afterwards! There's also a huge list of on-demand past trainings available.

Hope to see you there!

 

Eric Santos

Hi Nina!

Thanks for your reply; I'm happy to chime in! Did the steps and project file shared here work for you? If not, do you mind sharing your modified Storyline file, as well as the steps and triggers you're currently using to stop the audio? I'd love to help, but first, I need to see what we need to tweak in your modified file.

Jose Tansengco

Hello Nina,

The introductory audio in Slide 1.4 doesn't automatically play on the slide because of this trigger condition: 

The default value of the variable is 'True', so this audio file won't play until an event changes the value of this variable to 'False'.

You'll need to first change the trigger condition so that it will play the audio when the value of the variable is true, and then set an even to change the value of this trigger to false, or vice versa. 

Hope this points you in the right direction!

 

Nina Prescott

Hello,

I am having an issue with the 1.13 audio trigger. I am trying to stop the audio when the user returns back to the menu selection on this slide. I had another trainer review the coding and they don't see where the error is. My team doesn't use the coding that often and I am trying to learn it. I have the audio and the notes in the section so you will hear what the prompts are.

Thak you!

Luciana Piazza

Hi Nina, 

Thanks for reaching out!

I took a peek at your file, and I saw that the True/False Variable for the Allocated layer was set to False. I went ahead and changed the trigger to True and modified the other layers to False so that the audio does not replay and navigates through the slide correctly. 

I'll attach a copy of the update .story file for you. Let us know if you are still experiencing this behavior with the audio and navigation. We're happy to assist further in this discussion or in a support case. 

Have a great weekend!