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
  • 2688 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

Participating Frequently
June 8, 2015

The images are there from the start, but I thought that what you labeled 'buttons' are in reality the click boxes over the images (you can fill a shape button with an image as well)? It must be me misunderstanding? Or are the click boxes in the groups that are collapsed at this moment? What is then the goal of the 'buttons', I thought they triggered the conditional advanced actions with two decisions? Be careful when you test: try to wait 11 secs after clicking the first image, to see what I meant with my second bullet point in previous answer.

It would be easier for sure to split the slide up. Have the two 'buttons' (which are click boxes I think) pause pretty early, make their interactive part long enough to hear the full audio clip and use the conditional actions that you showed. Continue will be done only after the second click, audio clip will play through while the playhead advances and you can have the next button on the following slide.


It is totally NOT you misunderstanding... It's me messing up describing the scenario...  You are totally correct, the images appear right away and the buttons over the image don't show until the intro audio is complete, so they can't click an image during the intro audio.  The slide never starts up again (i just tested) I'm assuming because of the pause button after the intro audio.  I like the idea of a new slide for the conclusion audio and I am going to try that now.