Adobe Captivate 2: Create Reusable Buttons That Play Sound Effects

I recently had a student in my Captivate class ask how she could force a button to play a sound, but nothing else. Usually buttons are used to move a user through the CBT, jump to a Web site or launch a JavaScript.

At first, asking a button to actually do less than its design seems like a simple thing to do. However, you might be surprised to learn that the process is a bit more complicated than expected and will require a bit of tinkering on your part.

The process of inserting a button onto a slide and attaching a sound to the button is simple enough (Insert > Button and then use the Audio tab to attach the audio). But if you were to preview the project, you’d quickly realize that the sound plays by itself–before the user can click it. Want the sound to play only after the user clicks the button? Read on…

Insert a button (without audio)

  1. Open or create a Captivate project with at least a few slides
  2. Open a slide
  3. Choose Insert > Button (you can use either a text or image button for this experiment)
  4. Set the On success to No Action

    Button set to No Action

  5. Select the Options tab
  6. Select Success caption (ensure the remaining options match the picture below)

    Success Caption selected

  7. Click OK

    There should now be both a button and a Success caption on your slide.

Attach Audio to the Success caption

  1. Double-click the Success caption
  2. Delete any text
  3. Change the Caption type to [transparent]

    Success Caption Transparent Style

  4. Select the Options tab
  5. Change the Transition Effect to No transition

    Caption Transition set to No Transition

  6. Select the Audio tab and import your audio

    Audio Attached to a Caption

  7. Click OK

If you preview your project now and click the button, you should hear the sound. (Very clever of you to attach the audio to a transparent caption!) But there is a problem. While the button can be clicked over and over, the sound will only play once. Bummer! Now what? If you could get the slide to somehow refresh, that would make the button think that it hadn’t been clicked and take care of things. But how to you refresh a Captivate slide? Read on…

Refresh a Slide

  1. Insert a blank slide before the slide with the button (Insert > Blank Slide)
  2. Right-click the slide with the button and choose Copy Background
  3. Right-click the slide you just inserted and choose Paste as Background (click Yes when prompted)

    Now the slide you inserted will look identical to the slide with the button (sans button).

  4. Right-click the slide you inserted one final time and choose Properties
  5. Change the slide’s Display Time to .1 second (one-tenth of a second)

    Slide Timing Set to .1 second

  6. Click OK
  7. Finally, go to the slide with the button
  8. Right-click the button and choose Properties
  9. On the Button tab, change the On success to Jump to Slide and select the slide just previous to the slide with the button (you know, the slide where you changed the Display time to .1 second)

    Jump to Slide

  10. Click OK

    Play the project now and, when you click the  button, the sound should play.

    In addition, clicking the button takes you to the slide preceding the slide with the button. Since that slide plays so fast (you set its timing to .1 second), and looks like the slide with the button, it should hardly be noticeable that you left the slide with the button at all. And if you click the button again, the sound should play again. How cool is that????

Want to learn more about Adobe Captivate 2? Click here.

Click here to sample some of our 100% interactive simulations.

12 Replies to “Adobe Captivate 2: Create Reusable Buttons That Play Sound Effects”

  1. Love this Success Caption audio method, but multiple sounds play together if you click a second or third button. 1: Any way to make it that all other button sounds stop when you click a new button. 2: Can you adapt the refresh a slide trick to multiple buttons?
    Another question with click boxes/buttons, this one branching. If you have 3 buttons/click boxes and use branching so people can pick the path they want, then return to this 3-button choice to pick another button, how do you disable or visually indicate the buttons already visited?
    Thanks, Carol
    PS: Still reading your advanced Cap 4 book, nice…

  2. Love this Success Caption audio method, but multiple sounds play together if you click a second or third button. 1: Any way to make it that all other button sounds stop when you click a new button. 2: Can you adapt the refresh a slide trick to multiple buttons?
    Another question with click boxes/buttons, this one branching. If you have 3 buttons/click boxes and use branching so people can pick the path they want, then return to this 3-button choice to pick another button, how do you disable or visually indicate the buttons already visited?
    Thanks, Carol
    PS: Still reading your advanced Cap 4 book, nice…

  3. Love this Success Caption audio method, but multiple sounds play together if you click a second or third button. 1: Any way to make it that all other button sounds stop when you click a new button. 2: Can you adapt the refresh a slide trick to multiple buttons?
    Another question with click boxes/buttons, this one branching. If you have 3 buttons/click boxes and use branching so people can pick the path they want, then return to this 3-button choice to pick another button, how do you disable or visually indicate the buttons already visited?
    Thanks, Carol
    PS: Still reading your advanced Cap 4 book, nice…

Leave a Reply to Mike TowseCancel reply

Discover more from The Logical Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading