In Captivate, there are lots of events you can attach Actions to. Some of them are system events (for example, the start of a course, the beginning of a slide, and so on), and some of them are student-driven events (typically, clicking a button). In this case, you will ask Captivate to execute the action when the student clicks the Mute button you created earlier in this chapter. Follow these steps to get started:
- Still on slide 1 of the Chapter14/takeTheTrain.cptx project, and make sure that the Properties inspector displays the properties of the mute button.
- In the Actions tab of the Properties inspector, change the On Success action to Execute Advanced Actions.
- In the Script dropdown that appears just below, make sure that the muteAudio action is selected.
- Save the file and use the Preview | Project icon on the Toolbar to test the project.
When the Preview pane opens, there are a few things to test to make sure that the action works...