Skip to main content
Participant
December 20, 2011
Question

Unable to get audio on a button to stop when another button is clicked.

  • December 20, 2011
  • 1 reply
  • 1242 views

I'm working on a course in captivate 5 and have multiple buttons on each slide. The buttons contain audio within the Success Caption. However, when another button is clicked, the first audio keeps playing and the second audio clip plays over the first.

I also need the user to be able to click the button and hear the audio multiple times. My solution for that was to create an Expression Action: rdcmndGotoFrameAndResume with -1.

What can I do to have the audio in one button stop playing when another button is clicked, while retaining the action to allow the user to hear the audio multiple times?

Thanks!

This topic has been closed for replies.

1 reply

Evan Berrett
Inspiring
December 20, 2011

Have you tried applying advanced actions to the buttons that would disable the other buttons upon being selected? You would have to enable them again if you wanted the user to be able to click on the same buttons again and again on the same slide.

Participant
December 20, 2011

I had thought about that action, but I'd prefer to let the user decide when to click another button and move along in the course. Plus, I'm worried that if buttons are disabled for even a short period of time, they will think the course was broken and start to submit tickets to have it fixed.

Do you know if there is an advanced action available that would stop the audio if the learner interacted with the slide (ie clicked another button)?

Lilybiri
Legend
December 20, 2011

Hello,

It is the easiest way to attach the audio to the success caption, but then you'll have this kind of issues. I prefer to attach it to an 'invisible' object (like a rectangle without fill/stroke) because then I'm able to hide/show that object and thus stop/play the audio. Hope you understand what I mean?

Lilybiri