Forum Discussion
Playing media file AFTER other media on slide completes
I have a screen where the learner would click on a button to hear audio. There are 7 different audio files, on different layers.
The slide begins with introductory audio that explains what to do, i.e. "Click on the buttons to hear more.".
It also has an ending audio file that should play AFTER the buttons have been clicked and the audio for them finishes.
Two questions.
How do I keep the buttons inactive until after the intro audio finishes.
How do I have the ending audio file play only AFTER the 7 buttons have been clicked and their audio finishes.
I've tried having it play after all the button states change to Visited but it begins playing the final audio at the same time as the audio of the last button that was clicked.
I've also tried using variables to have them change to True once the audio or timelines on the different layers has finished. But the final audio never played.
Looking for ideas/help. Any would be appreciated.
23 Replies
- BrentdeMovilleCommunity Member
You could put the final audio on a separate layer and set a trigger to make that layer visible when the last audio finishes (media complete).
- KatherineOtisCommunity Member
Thank you Brent.
Question on that. Since the audio can be taken in any order, how would I set up the trigger? I've tried setting the buttons to only show as Visited once the media completes but that didn't work, although I could be doing something wrong.
- NancyWoinoskiSuper Hero
Set the initial state on each button to disabled. Add a slide trigger to change the state of each of these buttons to normal once the media completes.
- KatherineOtisCommunity Member
Thanks Nancy but how do I add a slide trigger? I see how to add an Object trigger but can't find a way to add a slide trigger.
- BrentdeMovilleCommunity Member
- KatherineOtisCommunity Member
I appreciate the link but it is still not working. The button states change to Visited when they are clicked, not AFTER the audio finishes playing, so the audio for the last button clicked and that on the last layer both play at the same time.
This has been my issue since the buttons can be clicked in any order.
I tried to upload the file but cannot for some unknown reason.
- KatherineOtisCommunity Member
Apparently the upload worked.
- MichaelHinzeCommunity Member
Here is one option to do this. For each layer, I added a trigger that check if all six (maybe I'm blind, but I only saw six buttons, not seven) buttons when the layer's audio file completes. I also deleted some triggers of variables being set and the state of buttons being changed to Visited. Since Visited is a built-in state, it is automatically triggered when a button is clicked. Give it a try and see if that's what you want.
- KatherineOtisCommunity Member
Thank you Michael! That worked. I was trying to create those triggers only from the main layer, not on all the individual layers but I see the logic in what you did.
Thank you again.
- KatherineOtisCommunity Member
Michael, I hate to bother you again but could you look at the attached file and tell me what I did wrong in the last slide? I'm trying to replicate what you did above.
Related Content
- 7 months ago
- 9 months ago