Forum Discussion

MoniqueHempe's avatar
MoniqueHempe
Community Member
15 hours ago

Content page with variables and audio

Hi, 

I am struggling with a menu setup that involves variables and audio. 

So, I created a content page that allows the user to click on three different objects that will direct the user to a set of slides. By the end of each set the user is asked to return to the menu page. The idea is that the user can only move forward to further slides, when all three sets are viewed. So, I did hide the in-build Player "Next" button when the timeline starts and it only appears when all the three sets are viewed. This is tracked with variables that work perfectly fine. 

Now, the difficulty starts when also adding audio on this page. As the state of the variables is checked, "when the timeline starts". However this means, that also the audio will start of at the beginning every time the user returns to the menu slide. 

Is there any possibility to prevent the audio to replay or to link the variables to a different event on this slide? 

2 Replies

  • you could add a stop audio trigger if one of the variables is true

  • A "when the timeline starts on this slide" trigger will run every time a user visits the slide—yes, even if the Slide Properties are set to "Resume saved state." 

    The good thing about this is that you can use "Resume saved state" to prevent the audio from replaying. But that won't prevent any "when the timeline starts on this slide" triggers from running.

    Another option: put the audio on a layer that's set to "Resume saved state."