Need audio to complete on buttons/pop-ups before the next button/pop-up can be accessed

Jan 04, 2018

I have a client request for audio to be completed on all buttons and pop-ups before a learner can access any other buttons/pop-ups on the screen.  Any recommendations for how to do this?  Need quick turnaround.

50 Replies
Kevin Thorn

Hi Patti,

If I understand, your setup is two sets of buttons/pop-up screens with audio. You could do this with variables, but if you're not comfortable working with variables then leveraging the button object states should work.

Try this: Set all the buttons on the second set to initial state = Hidden.

Add a trigger to change the state of the buttons in the second set based on a visited state of the first set of buttons.

First thought is you'll need one trigger per object (button):

  • Change the state of [button 1 set 2] to Normal when the state of [button 1 set 1] AND [button 2 set 1] AND [button 3 set 1] ... (add more as needed) ... are ALL equal to Visited.
  • Duplicate trigger for [button 2 set 2] and so on for as many as you need.

Hope this helps.

Bob O'Donnell

Patti, We just made something similar to what you're describing. For your button layers, make sure the slide properties are set so the user cannot select anything on the base layer. Your popup layer with audio (and any other info) would be set to play completely through before hiding. In our case - we forced the issue further by including a "Close" button in the popup layer that the user had to select before the info would clear and allow them access to another button.

Hope that's what you're looking for.

Bob O'Donnell

All you need to do is set the slide to hide when the timeline or audio completes. In our case, it was "Hide Layer" "This Layer" when user clicks "Close". If you wanted to really enforce it, you could set the close button to be disabled until the timeline completes so the user is forced to listen to the entire audio clip.

Patti Myers

Okay...it works, but the client wants the last pop-up to play all the way through before the next button becomes active.  The slide is not designed in a way where I can add a close button and we are going to Gold.  Other ideas to fulfill the client request?  Can add attachment if that helps.  Please advise.  

 

Wendy Farmer

Hi Patti

The Prev/Next buttons are slide buttons so if you want to control them from a layer you'd probably need to use variables. Without seeing what other objects you have on the layer try this

  1. Create a T/F variable 'audioComp' default to false
  2. Base layer: Change state of Next button to Disabled when timeline starts on the slide.
  3. Last layer: Adjust variable 'audioComp' to True when media completes on the layer.
  4. Last layer: Change state of Next button to Normal when variable changes 'audioComp' on condition 'audioComp' = True.

when you do point 4 you may see it display on the base layer - that's ok.

I'm just about to go onto a conference call, but if that doesn't work do you want to share the slide and I'll take a look for you.

Patti Myers

Wendy,

Thanks for the information.  I was not able to test until today.  Unfortunately, it did not work or I might not have understood your instructions.  One thing I want to mention is the buttons/pop-ups are set up in a certain order on the screen, but the learner is not required to select them in a specific order.  And as we know learners will go outside the box and may select the "last button" 2nd or 1st...  I created a "conclusion" button that has no audio and has a pop-up that lets the learner know they completed the slide as a last resort.  It's not ideal, but it seems to work, but would love to have a cleaner look and have this work without the extra "conclusion" button if possible.  Open to ideas.  Going to Gold soon.  Attaching the screens.  Please see slide 2.1, 2.4, and 3.1.  

Any help is appreciated.  :)

Patti

Patti Myers

Wendy,

For some reason I didn't get this reply.  Thank you for replying.  The buttons can be done in order, but not required.  Also, I tested the course in SCORM and it is not working, it keeps looping on that slide.  I will try to attach the entire course, but it may be too big.  I meet with the client tomorrow.  Open to any and all options to make these work.  :)

Wendy Farmer

Hi Patti

see attached update to your file - Slide 2.1 only so far.  I've set them up to be done in any order but be careful as Scope audio leads them to LTM so it might make sense to lock those two to start

This is what I did

Slide 2.1

1. Hide the Conclusion button

2. Added a disabled state to the four buttons and set a trigger to change state of each of the buttons to normal when the audio completed on the base layer. That way they can’t click ahead and audio won’t overlay.

3. Removed the tick on ‘pause timeline of baselayer’ and ‘prevent user from clicking on baselayer’ in the layer properties.

4. Removed the tick against ‘hide slide layer when timeline ends’ – I think this was executing before any triggers had time to work.

5. Also moved the tick in the visited state so it was against the button instead of the button below (that may not be what you want- but I found it distracting that a tick was against the button below to the one I was listening and reading)

6. Created a T/F variable for each button default to False.

7. Layer triggers : In this order:

a. Set a trigger to Adjust variable e.g. ‘Scope’ to true when media completes on scope layer. This trigger on each layer for the relevant variables

b. Change state of next button to normal when media completes on condition that all four variables are true.

c. Hide layer when media completes

Let me know if this works for you and if you need help with the other slides.

Patti Myers

Wendy,  thank you for your help. I tested the file you sent and it works for the NEXT button, but the learner can select any button at any time and hear the audio.  The client does not want them to be able to go to another button on the screen without hearing the complete audio for a button/pop-up.  It is a testing requirement that they listen to all audio and select all items on the screen before moving to the next screen.  

Can you please test on the entire story file I sent last night and see the comment about looping in SCORM?  I really need help.   The slides I need help with that are in the complete story file I sent are Slide 2.4, Slide 2.9, and Slide 3.2.  I meet with the client this afternoon.  Thank you!!  If we need to talk live or screen share, is that possible?  Thanks.

Patti

Wendy Farmer

Hi Patti

see if the attached works how you want.

I have disabled the buttons on each of the slides 2.4, 2.9 and 3.2 until the initial base layer audio plays.  Then the buttons can be done in any order. 

I created number variables one for each slide and used this in the trigger for the Next button. 

Hope this helps.

Patti Myers

Thanks Wendy.  I was able to download it.  It looks like it works unless you select the Conclusion button first on 2.9 and 3.2.  Suggestions?  Also, client just informed us that they want this function and the ability for the learner to select the previous button and "revisit" the slide without the next button remaining disabled and without having to hear the audio or do all interactivities again for all slides.  I tried to set the slides to Reset to Saved state and this did not work.  Suggestions to make this first request of the audio buttons and the revisited slide work?  Thank you.  I am enclosing my latest story file.  

Thank you so much for your help!

Wendy Farmer

Hi Patti

I read above you added the conclusion button so you could get it to work - I disregarded the conclusion button in the setup I did - I may have hidden it on the timeline in 2.4 then forgotten to do same in the ther slides.

So do you want the conclusion button included or not? 

I wont get to take a look at this till tomorrow for the other issues you’ve mentioned.

Patti Myers

Oh...I see...didn't realize that.  Thanks for the clarification.  The conclusion button doesn't have to be there, it was my option to try to make it work.  Can keep with conclusion button or without.  Want it to look and work well for client. 

I understand.  It is an additional request and it affects all of the slides.  I was a little thrown for a loop on this request.  Any ideas would be great.  Thanks.  Want to know the best way to accomplish this on all slides and I'm sure these three with audio will require something different.  Appreciate any help you can provide.  We are hoping to deliver to client early next week.  Thanks!  

Wendy Farmer

Hi Patti

For scene 1 I created a variable for each slide e.g. scene1_0, scene1_1.  Then I added triggers to stop the audio on revisit and set the Next button to normal - I also changed the 'revisit slide properties' to resume saved state - is this the behaviour you are after?

I have only worked on Scene 1 - you may want to check the slide numbering, it has slide 1 of 5 starting from the second slide and then the last slide of the scene says 4 of 5?

 

Patti Myers

Thank you.  This is operating the way I was looking for.  I am concerned about the programming on the other scenes that have multiple interactions.  I think I understand what you did, but not fully.  Can you help out with the other scenes?  Thanks for the note about the page numbering.  I will check that.  Thanks!

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