I have a contents slide that has sound on it and will be visited a few times during the course. What would be the best way to add a trigger to not play sound on other than the first visit?
You could add an off-screen shape to the slide that has the audio on and set the initial state to 'hidden'. Then you could add a trigger that changes the state of that shape to 'normal' when the user clicks on the 'next' button and finally add another trigger that stops the media when the timeline starts on the condition that the shape's state is normal.
When adding these triggers, you will need to ensure that the trigger to change the state of the shape from 'hidden' to 'normal' is above the trigger to jump to the next slide as you will need this action to happen BEFORE the next slide is displayed.
I hope this helps but please feel free to post back if you have any questions.
On the slide that will be re-visited: does the sound begin when timeline starts or does the learner have to do something/click on something to get the sound? A bit more context would be helpful in giving you a possible solution.
Antony, I will give your suggestion some thought. I'm thinking I might put a play button in the slide somewhere so the user can listen to it again if they wish.
Another option would be to create a variable that defaults to False, but is set to True the first time they view the page. The trigger that plays the audio would be set to play automatically only if the variable value is False. This way, when they revisit the page the variable will read True, since they have already been there, and the audio should not play automatically on subsequent visits.
hello, Iv'e applied a similar solution which works.
The problem I still have is that if the audio did not complete playing in the first slide, on returning to the slide the audio plays again.
this is true also to the story file posted here above (just checked).
is there any reason for this behavior? Any way to solve it?
I'm using a "welcome" melody but there's a possibility that learners will not wait it out before jumping to the next slide. In this case, when returning to the menu slide the melody starts again...
I'm not sure that Brian is still subscribed to this thread, but you may want to send him a private message. If you could share a bit more about how your Storyline file is set up, we may be able to offer suggestions for how you could pause your slide audio, and you may want to share the .story file here as well.
9 Replies
Hi Jason,
You could add an off-screen shape to the slide that has the audio on and set the initial state to 'hidden'. Then you could add a trigger that changes the state of that shape to 'normal' when the user clicks on the 'next' button and finally add another trigger that stops the media when the timeline starts on the condition that the shape's state is normal.
When adding these triggers, you will need to ensure that the trigger to change the state of the shape from 'hidden' to 'normal' is above the trigger to jump to the next slide as you will need this action to happen BEFORE the next slide is displayed.
I hope this helps but please feel free to post back if you have any questions.
Antony
Hi, Jason:
On the slide that will be re-visited: does the sound begin when timeline starts or does the learner have to do something/click on something to get the sound? A bit more context would be helpful in giving you a possible solution.
Daniel, it plays with the timeline for now.
Antony, I will give your suggestion some thought. I'm thinking I might put a play button in the slide somewhere so the user can listen to it again if they wish.
Another option would be to create a variable that defaults to False, but is set to True the first time they view the page. The trigger that plays the audio would be set to play automatically only if the variable value is False. This way, when they revisit the page the variable will read True, since they have already been there, and the audio should not play automatically on subsequent visits.
For some help with using variables in triggers you can post back here, and there are some very nice tutorials around using them as well - http://community.articulate.com/tutorials/products/working-with-variables.aspx
I've attached a quick example to this post that I mocked up, in case you haven't figured this one out already...
hello, Iv'e applied a similar solution which works.
The problem I still have is that if the audio did not complete playing in the first slide, on returning to the slide the audio plays again.
this is true also to the story file posted here above (just checked).
is there any reason for this behavior? Any way to solve it?
I'm using a "welcome" melody but there's a possibility that learners will not wait it out before jumping to the next slide. In this case, when returning to the menu slide the melody starts again...
Hi Sarit and welcome to Heroes!
I'm not sure that Brian is still subscribed to this thread, but you may want to send him a private message. If you could share a bit more about how your Storyline file is set up, we may be able to offer suggestions for how you could pause your slide audio, and you may want to share the .story file here as well.
Thank you Brian for the quick example. I was bored to listen again and again the "welcome comment" on my first slide.
I use your method now in my project with an awesome effect. )
It's fantastic to have access to this forum.
Hi Al,
Glad that this thread helped you out, and thanks for letting us know! If you need anything else give us a shout!
This discussion is closed. You can start a new discussion or contact Articulate Support.