Skip to main content
Inspiring
February 2, 2012
Question

advanced action or javascript to play audio sound

  • February 2, 2012
  • 2 replies
  • 2362 views

Is there a way to incorporate play an audio sound into an advanced action?

This topic has been closed for replies.

2 replies

Lilybiri
Legend
February 2, 2012

Hello,

An example of those 'audio objects' and some explanations you'll find in this blog post:

Playtime with audio and widgets

Lilybiri

Inspiring
February 2, 2012

Lilybiri,

Your Playtime blog has a lot that is of interest to me. How can I download the Captivate file to examine it, if you are willing to make it available? Having the original Captivate file would answer many questions for me.

RodWard
Community Expert
Community Expert
February 2, 2012

Currently there is no Advanced Action for directly playing a sound.  The current method is to use Advanced Actions to SHOW an object to which an audio track has been attached, thus playing the sound as soon as the object appears.  If you set the Alpha value of the object to 0% the sound will still play even though the object is invisible.  You can also attach sounds to the Success captions of interactive objects in order to trigger the sound via a mouse event or some other success condition.

Inspiring
February 2, 2012

Rod,

Thanks for  your suggestion. I tried playing a sound by attaching it to an object that shows when the advanced action is triggered. In this case the action is triggered when the learner clicks the Submit button, whether or not they got the correct answers. The object itself appears when triggered, but it does not play the sound attached to it. (Otherwise, the action works well -- it shows not only the object with the attached sound, but 3 other objects as well.)

Because it is a quiz, I'm limited to certain objects. I've tried doing this with a highlight box and with a text caption. I'm not using Success/Failure captions, but I tried it with a Success caption. The sound plays, but requires the learner to click the Submit button twice, which is not desirable: the first time the sound plays, the second time, the learner is able to navigate to the next slide.

RodWard
Community Expert
Community Expert
February 3, 2012

Take a look at Allan Partridges video as shown on this page:

http://www.infosemantics.com.au/adobe-captivate-widgets/event-handler-interactive