Locking down slides until audio completes

Nov 05, 2012

I have completed my storyline project and am now trying to set my triggers to make it so my viewers are unable to click to the next slide until the audio has completed.  Is there an easy way to do this?

Thanks!

Jillian

12 Replies
Alexandros Anoyatis

Hi Jillian,

There are various ways you can achieve this.

Assuming you are using custom navigation buttons, you can place a hotspot on top of the next slide button for as long as your audio plays, or adjust the start point of your "Next" button to appear after the end of your audio in the timeline.

A third way would be to set the initial state of your next button to "disabled" and then create a trigger in the form of "Change state of Next button to Normal when media audio X completes". In this case it may also be nice to provide some feedback in the form of a caption, in case the Next button is pressed before audio completes.

Hope all this makes sense,
Alex

Alexandros Anoyatis

Well, in that case you should probably go with the following steps:

1) Create an element off-screen (any element, for example a button or a textbox) and make it enter and dissapear at the same time as your audio.
2) Create a trigger that will "Change State of Element X to hidden when timeline of Element X finishes).
3) Modify the player trigger for the next button by adding condition (if Element X is equal to hidden).


Not as "clean" maybe, but it does the job.

As with my previous answer, you could optionally create an extra caption, only this time you have to add condition "if Element X is equal to Normal).

That should do the trick.

Hope it helps,
Alex

Jill Blaser

I wanted to do the same thing. Well, actually I didn't WANT to, but the decision maker did.

I ended up converting all of my audio files to swf files and inserting the video into the slide. I checked the Show Video Controls options and put the video seek bar into the slide. I resized the seekbar to fit across the bottom length of the screen. I inserted a shape over the entire seekbar and set the transparency to 100% so the user would not be able to skip forward on the seekbar. The could however still use the play/pause. I used the true/false variable. Original state of slide is set to false. Only changes to true after the media completes. If the user clicks the next button (in the player) and the variable is false, a layer pops up and says they must listen to all of the audio before continuing. 

It was VERY tedious, but it's what the customer wanted because of some state training laws. And it works for that purpose. 

If you want a sample of the course I can send you one. Let me know. 

This discussion is closed. You can start a new discussion or contact Articulate Support.