I have a slide with 4 buttons that open up 4 different layers, all having a variable on them that sets to true when a learner opens the layer. When they get back to the base layer, I want narration to play "Select next to continue".
How would I set this up so that it only plays when all interaction as been completed?
Would I need to add this trigger to each layer's close button? And - I have 2 audios on my base slide, how do I tell this trigger to only play audio 2 after all statements are true? Do I attach it to the next button?
I'm very confused! On the Additional CPO Dealer Support layer-those 3 buttons open up 3 layers and when they click the "X", it takes them back to Additional CPO Dealer Support. Once all 3 buttons are visited, I want to play Sound 2. How is this set up?
You'll want to check the trigger order of your slides - and the "play media" trigger on your layers needs to appear before your "hide layer" triggers, or else the play media trigger will never execute. I made that minor adjustment on your file, and previewing the first slide after i viewed each layer and clicked the "close" button the sound played.
The key is to target the audio file(s) with a trigger so that you can control when they play. In the attached file, I'm using a number variable that increments each time a slide layer is closed (signifying that it's been visited). Once it reaches 4, there is a trigger that plays the 2nd piece of media.
When you target an audio file, you'll notice that it changes on the timeline to "recorded".
This means that it has been targeted by a trigger and is waiting to play. Whereas Sound 1 in the above image is going to play automatically when the slide begins.
Does this work with a slide with lightboxes? The example below has a variable that marks the lightbox as true when the user clicks on the button on the main slide. How would I order the variables?
Lightboxes are a different animal. I'd really recommend placing those slides on layers as it'll give you more control. In the example I sent, I incremented the variable based upon the closing of the layer. However, we don't have access to a "lightbox closes" type of trigger, so as a result, we have to increment the variable (as you did) via some other means such as when the timeline starts. This causes issues then, because the variables have all changed, but the light box is still active (stopping the audio from playing on the main slide).
Let me think on it and ping some folks to see if it's possible. It might be, but it's just not jumping into my head at the moment!
And the answer is...yes, it's possible. I love the power of the community. I pinged some people and one of them should be posting soon. The cool part? You don't need variables! WHAT?!!! Yeah...totally cool. I was over thinking it...
So Kevin - could you explain the reason behind the layer?
And if I had 1 audio play in the beginning of the slide, then the 2nd audio after all 4 lightboxes have been visited, would the same slide triggers be used? Pause media 1 if lightboxes are not visited; play media 2 if lightboxes are visited?
If you have a number variable that's tracking how many times a learner clicks a button to open a layer on a slide (say 3) but clicks an already opened layer, does that still count as a click? Which will then trigger my second audio to play?
So for example, let's say that your button has a normal and a visited state. You could set up a trigger to do something like adjust variable add 1, when user clicks button x IF state of button x is normal.
This way, if they click when the button is visited, it won't increment again when they click that button.
I've tried your way shown AND changing the "Completed" Media to play when state of the buttons ARE visited. Now I'm not getting the second media to play at all.
37 Replies
Hi Katie
do you have any close buttons on the layers?
If so I'd add a trigger to it saying:
play media when user clicks the close buttons if all the statements are true.
Have a look at the attached example
Hi Joanna,
Would I need to add this trigger to each layer's close button? And - I have 2 audios on my base slide, how do I tell this trigger to only play audio 2 after all statements are true? Do I attach it to the next button?
Hi Katie
you need to add a trigger to each closing button. Just simply choose from the list which audio should be played. I hope me example helps with it.
It helped very much! Thank you!
This won't confuse the slide with which audio to play?
Here's my file:
I'm very confused! On the Additional CPO Dealer Support layer-those 3 buttons open up 3 layers and when they click the "X", it takes them back to Additional CPO Dealer Support. Once all 3 buttons are visited, I want to play Sound 2. How is this set up?
Hi Katie,
You'll want to check the trigger order of your slides - and the "play media" trigger on your layers needs to appear before your "hide layer" triggers, or else the play media trigger will never execute. I made that minor adjustment on your file, and previewing the first slide after i viewed each layer and clicked the "close" button the sound played.
I tried but both audio files played at the start of the timeline. Can I have 2 separate audio files and not have them overlap?
I can't even see the sound 2 option on my layers.
Hi Katie,
The key is to target the audio file(s) with a trigger so that you can control when they play. In the attached file, I'm using a number variable that increments each time a slide layer is closed (signifying that it's been visited). Once it reaches 4, there is a trigger that plays the 2nd piece of media.
When you target an audio file, you'll notice that it changes on the timeline to "recorded".
This means that it has been targeted by a trigger and is waiting to play. Whereas Sound 1 in the above image is going to play automatically when the slide begins.
I hope the attached file helps!
Mike
Thanks Mike, this helped a lot!
Does this work with a slide with lightboxes? The example below has a variable that marks the lightbox as true when the user clicks on the button on the main slide. How would I order the variables?
Hi Katie.
Lightboxes are a different animal. I'd really recommend placing those slides on layers as it'll give you more control. In the example I sent, I incremented the variable based upon the closing of the layer. However, we don't have access to a "lightbox closes" type of trigger, so as a result, we have to increment the variable (as you did) via some other means such as when the timeline starts. This causes issues then, because the variables have all changed, but the light box is still active (stopping the audio from playing on the main slide).
Let me think on it and ping some folks to see if it's possible. It might be, but it's just not jumping into my head at the moment!
Thanks,
Mike
Hi Katie.
And the answer is...yes, it's possible. I love the power of the community. I pinged some people and one of them should be posting soon. The cool part? You don't need variables! WHAT?!!! Yeah...totally cool. I was over thinking it...
Mike
Hi Katie,
Mike pinged me and asked to see if I could help. This is what I figured out.
No variables. Evaluated the visited state of each button.
Does this work? > http://nuggethead.net/demo/lightbox/story.html
.story file attached.
Wow - I'm so impressed! Thank you SO much Mike for revisiting my issue and thank you Kevin for sharing! You guys are awesome!
So Kevin - could you explain the reason behind the layer?
And if I had 1 audio play in the beginning of the slide, then the 2nd audio after all 4 lightboxes have been visited, would the same slide triggers be used? Pause media 1 if lightboxes are not visited; play media 2 if lightboxes are visited?
@Mike Enders -
If you have a number variable that's tracking how many times a learner clicks a button to open a layer on a slide (say 3) but clicks an already opened layer, does that still count as a click? Which will then trigger my second audio to play?
How would I get that to NOT count as a click?
Katie,
You'd want to add a condition of some sort.
So for example, let's say that your button has a normal and a visited state. You could set up a trigger to do something like adjust variable add 1, when user clicks button x IF state of button x is normal.
This way, if they click when the button is visited, it won't increment again when they click that button.
Mike
I just tried it and it didn't work if I re-click an already-visited button.
You mean it still incremented the number variable higher?
Try this...
Switch the condition to button state is note equal to visited.
I've attached a file as an example.
Mike
Hi Katie,
Apologies. I've been traveling this week.
Looks like Master Mike may have the solution.
@Mike - Still not working.
I've tried your way shown AND changing the "Completed" Media to play when state of the buttons ARE visited. Now I'm not getting the second media to play at all.
Any other heroes out there to help? Please?
Katie,
Two things.
1. The variable incrementing triggers need to be on the base layer (versus the slide layers).
2. The not equal to was only to be applied to the variable incrementing, not the audio playing.
I've updated the file with my recommended fixes. Let me know if this does the trick!
Mike
@Mike,
Thanks for all of your hard work but the Completed audio is still not player per your example!
Odd, it's working when I run it...
I published it out for you to test:
http://articulate-community.s3.amazonaws.com/Mike/2014/forumsexamples/katie/story.html
Mike
This discussion is closed. You can start a new discussion or contact Articulate Support.