Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Set an Advanced Action to Play wrap up audio after all buttons are clicked

New Here ,
Jan 29, 2016 Jan 29, 2016

Hi,

I think I know the answer to my problem, but it just doesn't seem to work out once I put the pieces together. I want the learner to click 4 buttons and listen to each of their audio and then hear a wrap up audio before continuing to the next slide.

Here's how I think it's supposed to work:

Slide Details: I have 4 buttons (R, A, C, E) for a 4-step process. The user clicks each button to reveal a text box of detail and hear audio for each step. After the user clicks all 4 buttons I want a wrap up audio to play.

Program Info: I created a variable with the value of 0 for each button (Rviewed, Aviewed, Cviewed, Eviewed). Then created an advanced action for each button: (When button R is clicked, Assign Rviewed with a 1 and show Rdetails text box) for each letter. So, on success of each button execute Advanced Action.

Then I created another Advanced Action called AudioExitSlide#. This is a conditional action that says when all 4 variables have a 1, play wrap up audio, else ______not sure what to put here (continue and pause don't seem to work). I don't know where else to tag this advanced action but the On Exit action.

When I preview the slide, I never hear my wrap up audio. What am I doing wrong here?

Please help.

Katiebelle

340
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 29, 2016 Jan 29, 2016

Will try to explain, but want first to have some confirmation:

  • Is the audio attached to the text caption that shows up when clicking a button? Do you not have issues with several audio clips playing at the same time if the user clicks the buttons to quickly, all at once?
  • Which version are you using?

The On Exit event is never to be trusted, it will execute your action after leaving the last frame of the slide, and since you are then at the start of the next slide!

I would also like to see a screensh

...
Translate
Community Expert ,
Jan 29, 2016 Jan 29, 2016

Will try to explain, but want first to have some confirmation:

  • Is the audio attached to the text caption that shows up when clicking a button? Do you not have issues with several audio clips playing at the same time if the user clicks the buttons to quickly, all at once?
  • Which version are you using?

The On Exit event is never to be trusted, it will execute your action after leaving the last frame of the slide, and since you are then at the start of the next slide!

I would also like to see a screenshot of your timeline, please? Here are already some tips:

  1. You have to check the variables with each action on the button, which means you'll need a conditional action with two decisions:
    1. First decision 'Always' will do what you now have in the standard action, using a mimicked standard action like this:
      IF 1 is equal to 1
          Assign v_R with 1    sorry, I always start variables with v_ to avoid assigning same name to something else
         
      Show Tx_A
          Play Audio_A            I prefer using this command over an object audio, because you'll never have two clips playing at the same time
    2. Second decision 'WrapCheck' will check the variables
      IF v_E is equal to 1    AND
          v_A is equal to 1    AND
          v_B is equal to 1    AND
          v_C is equal to 1
      ????    will tell you what to do here after you answer my questions
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 29, 2016 Jan 29, 2016

Oh thank you!! You've already helped a lot, but I am anticipating your next message after this screen shot.

Version 9

timeline screen shot.png

slide screen shot.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 29, 2016 Jan 29, 2016

All buttons need to pause at the same moment. At this moment I see that is not the case.

Captivate 9 has a  new 'Delay next actions'. Do you know the exact length of the audio clips?  For the second decision you'll have to use that Delay Next Actions command with the time corresponding to the audio clip that has to be played immediately,  then put another Play audio command for the Wrap audio

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 19, 2016 Feb 19, 2016
LATEST

Thank you for your help on this one! This has helped me tremendously and I'm now following your labeling practices (v_variable, b_button).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources