Skip to main content
Participating Frequently
June 7, 2015
Answered

Adobe Captivate 8 Advanced Actions - Trigger an event after audio connected to a button has finished playing

  • June 7, 2015
  • 2 replies
  • 2695 views

Hi all.  I'm using Adobe Captivate 8 on Windows.  I have a slide that has 2 buttons.  The buttons are set in advanced actions, when clicked to play an audio file and show text, and then set the button variable as 1, clicked.  Both button are similar functions and can be clicked in any order.  When both buttons are clicked, I need to play a conclusion audio file.

My problem is that once the second button is clicked, whatever action I choose starts immediately, as both buttons have been clicked and the condition is now true.  I need it to finish playing the second-clicked button audio before it goes on to the next action, and no matter what I try it does not work!  Major frustration!  If you need me to post any screen shots, please let me know.  Thanks in advance, 

Mike

This topic has been closed for replies.
Correct answer RodWard

You need to be using Conditional Actions, not single actions.  With a Standard or Conditional action the button does not automatically release the timeline AFTER it has been clicked.

You also need to set up tracking variables so that your Conditional Action will be able to determine whether or not both buttons have been clicked and therefore the sound file should be placed as a consequence.

Take a look at this tutorial about creating dynamic menu slides:

Create a Dynamic Menu Slide in Adobe Captivate | Infosemantics Pty Ltd

The basic principles are really quite the same.

2 replies

Participating Frequently
June 9, 2015

Thanks to both Rod and Lilybiri for taking the time to respond and provide very useful suggestions!  Ultimately Rod's first response and corresponding links to his videos is what I was able to use to get this done exactly as I had hoped.  I am humbled by not only the expertise here, but the willingness to help me learn.  Thanks again so much to all!

-Mike

RodWard
Community Expert
RodWardCommunity ExpertCorrect answer
Community Expert
June 7, 2015

You need to be using Conditional Actions, not single actions.  With a Standard or Conditional action the button does not automatically release the timeline AFTER it has been clicked.

You also need to set up tracking variables so that your Conditional Action will be able to determine whether or not both buttons have been clicked and therefore the sound file should be placed as a consequence.

Take a look at this tutorial about creating dynamic menu slides:

Create a Dynamic Menu Slide in Adobe Captivate | Infosemantics Pty Ltd

The basic principles are really quite the same.

Participating Frequently
June 8, 2015

Thanks for the quick response Rod!  Your tutorials are amazing and very helpful.  This is how I have the slide set up now (but after viewing your tutorial I think I can use multiple slides to get the job done)...

  1. The Slide starts with intro audio, pauses when the audio is finished, then shows two images covered by click boxes.
  2. I used Conditional actions for button one to: Show text under button, play audio file, disable the click box and set the click box variable to 1
  3. I used Conditional actions for button 2 to: Show text under button, play audio file, disable the click box and set the click box variable to 1
  4. Then I have a conditional action that if both buttons are =1, continue the slide, which has a hidden button with conclusion audio, which should play after the triggered audio has finished whether slide one or two was clicked first.

Because the buttons have to be able to be clicked in any order, and audio two is 10 seconds longer than audio one, I don't know how to tell Captivate to wait until the audio is done before it starts playing the conclusion audio.  I tried dragging the conclusion audio button after the longer audio would be finished, but then there's a 10 second delay before the conclusion audio starts if button one is clicked last.

But now I'm thinking, after your help that I should use multiple slides to get this done, using conditional actions when the slides start.  I'm going to give that a try.  I can't thank you enough for your help!

Mike

Lilybiri
Legend
June 8, 2015

Could you post screenshots of the actions and the timeline? I am asking

this because often the fact that all decisions in a conditional action are

always validated in sequence often causes a logical bug.