In the attached example, I have created a True/False variable, ShowShape that starts as True and changes to False when the Hide Shape button is selected on Layer 1 of the slide. The triangular shape is initially Hidden, but is changed to Normal when the timeline starts provided ShowShape is equal to True.
As a result, when the slide is shown for the first time, the shape will appear at the start, but once the shape has been hidden by clicking on the Hide Shape button, the variable will change to False and so the shape will never reappear however many times the slide is revisited. However the text file (in this case a short text to speech file) will always replay.
When you preview the example, first click on Show Layer, then Hide Shape, Hide Layer and Next Slide. Finally, click on the Previous Slide button on the second slide to return to the start. You should now hear the audio without seeing the shape.
Thanks very much for this, Ned! It works perfectly.
I tweaked the file a bit to replicate my current setup. Also, I added a trigger to the layer, hiding the image on the base when the layer's variable changes to 'true.' This lets learners see that the layer component is completed while they are still on the slide.
I really appreciate your diving in to help. Now I can make these changes in each of my modules and publish my new course--this was the last piece of the puzzle.
4 Replies
Hi Allan,
In the attached example, I have created a True/False variable, ShowShape that starts as True and changes to False when the Hide Shape button is selected on Layer 1 of the slide. The triangular shape is initially Hidden, but is changed to Normal when the timeline starts provided ShowShape is equal to True.
As a result, when the slide is shown for the first time, the shape will appear at the start, but once the shape has been hidden by clicking on the Hide Shape button, the variable will change to False and so the shape will never reappear however many times the slide is revisited. However the text file (in this case a short text to speech file) will always replay.
When you preview the example, first click on Show Layer, then Hide Shape, Hide Layer and Next Slide. Finally, click on the Previous Slide button on the second slide to return to the start. You should now hear the audio without seeing the shape.
Hope this helps
Thanks very much for this, Ned! It works perfectly.
I tweaked the file a bit to replicate my current setup. Also, I added a trigger to the layer, hiding the image on the base when the layer's variable changes to 'true.' This lets learners see that the layer component is completed while they are still on the slide.
I really appreciate your diving in to help. Now I can make these changes in each of my modules and publish my new course--this was the last piece of the puzzle.
How can you do this with audio?
Hi, Katherine.
If I understand correctly, you want the audio to only play the first time the user visits the slide, right?
Here is my suggestion:
Let me know if this works!