Skip to main content
Known Participant
February 18, 2011
Question

Captivate 5 - Slidelet with audio when clicking

  • February 18, 2011
  • 1 reply
  • 768 views

Hi

I am having a few issues with using slidelets.  I have 5 objects on a slide and I want to click on one of the objects for audio to be played.  I have tried using a slidelet to do this but I don't seem to be having any luck.  The slidelet only seems to work when I rollover the object despite having 'On Rollover' set to 'no action'.  Does anyone have any suggestions how I can make this work, or is there another way I can do this?

Many thanks

Jodie

    This topic has been closed for replies.

    1 reply

    RodWard
    Community Expert
    Community Expert
    February 18, 2011

    If all you need to do is trigger an audio file to play you could just use a rollover caption or rollover image object to do this.  Just attach the audio to the caption or image that appears on rollover.  Then the audio will start to play as soon as the image or caption becomes visible.  If you want to hear the audio but not see the image or caption, just drag it off stage so that it won't be visible to the user.

    The above solution works where rollover is all you need.

    If on the other hand you want to trigger the audio on click, then attach the audio to the Success caption of a button or click box object.  Once again, if you don't want to see the caption, just drag it off stage or convert it to a transparent caption with no text so that it is effectively invisible.

    If you need to trigger audio by clicking some other object, you can use the Event Handler widget (http://www.infosemantics.com.au/catalog/widgets/interactive/wdgt_event_handler_01) and attach the audio to its Success caption.  This widget gives you the option of triggering the Success on just about all mouse actions you can think of, including rollover, rollout, click, mouse down, mouse up, double-click, and even right click.