Forum Discussion
Assistance with Layers, Triggers, and Moving to Next Slide
Howdy Articulaters,
I have a created a slide with three layers. Each layer is triggered by clicking the box which will reveal the objective. The trigger will hide the base layer, showing the new layer. An audio is also triggered to play with the new layer.
Here is what I am struggling with:
- I want the base layer to show after the audio has ended. I have created a trigger to hide the layer after the audio ends. When I preview the slide, this does not happen.
- I also would like a next button to pop up after the viewer has viewed all three layers. I have played around with some variables but nothing is working. Disclaimer: I am not well versed in variables at all.
I have attached the slide I am working on. I am really working on making my projects more interactive. So I would hate to make this slide just have things move and change with the timeline.
Thanks to all of those who help us novice users.
Please find the attached story file.
I created three True/False variables (Obj1Complete, Obj2Complete, and Obj3Complete). Each variable is set to True when its corresponding audio on each layer finishes playing.I also created a Next button and set its initial state to Hidden. On each layer, I added a trigger that changes the state of the Next button to Normal when the layer’s audio completes, provided that all three Obj variables are True.
This way, the Next button will appear only after all audios have been completed, regardless of whether all layers have been visited.
If you don't require learners to listen to all the audio files, you could alternatively set the Next button to appear when all Obj buttons are in the Visited state (a built-in state that is automatically activated when a button is clicked).
Example 1:
Show Next button when all audios are complete. Order of triggers is important!Example 2:
Show Next button when all Obj buttons are clicked (Visited).
7 Replies
- NedimCommunity Member
Please find the attached story file.
I created three True/False variables (Obj1Complete, Obj2Complete, and Obj3Complete). Each variable is set to True when its corresponding audio on each layer finishes playing.I also created a Next button and set its initial state to Hidden. On each layer, I added a trigger that changes the state of the Next button to Normal when the layer’s audio completes, provided that all three Obj variables are True.
This way, the Next button will appear only after all audios have been completed, regardless of whether all layers have been visited.
If you don't require learners to listen to all the audio files, you could alternatively set the Next button to appear when all Obj buttons are in the Visited state (a built-in state that is automatically activated when a button is clicked).
Example 1:
Show Next button when all audios are complete. Order of triggers is important!Example 2:
Show Next button when all Obj buttons are clicked (Visited).- SciencefulEricCommunity Member
So I think I am on the right track. But the current issue I am running into is the "next" button appears after the audio of different layers completes. The "next" button does not function, but it pops up. Any suggestions?
- SciencefulEricCommunity Member
Whoops. I figured out the issue with the next button not actually moving onto the next slide after clicking "next". But now, with the "next" button popping up after the completion of any of the audios, it is fully capable of moving onto the next slide. I want to make sure the viewer views each objective before moving onto the next slide.
- KendalRasnake-1Community Member
Hello,
Nedim has solved your 2nd problem.
The first problem is that you are mistaken. The trigger to hide the layer when the audio finishes is working. You can tell it is because your Objective button changes from a text description back to "Objective #." You may have thought it was not working because your avatar is hidden upon return to the base layer. The reason it is hidden is because you put in a trigger to hide it when someone clicks on a button.
What you may consider as an alternative is hiding the object on the layer, not the base layer. If you go to the layer, you can look on the timeline and see Base Layer Objects. Open up that expandable arrow and pick out what you want to be hidden on this layer from the base layer, such as the avatar, and click the eyeball next to the layer to hide it.
- SciencefulEricCommunity Member
Thank you both for your guidance with this. I really really appreciate it! :)