In this Extra Credit section, you will create an additional button next to the Mute button you created in the previous sections and develop a Conditional Advanced Action to turn the Closed Captions on and off. The main difference between this button and the Mute button is the System Variable you need to manipulate. In this example, use the cpCmndCC variable to turn Closed Captions on and off. The general steps for this procedure go as follows:
- Create a Closed Captions button using the images stored in the Chapter14/images folder. Make sure you create a custom Active state for the button and place it next to the Mute button. Don't forget to give this new button a name in the topmost section of the Properties inspector.
- Use the Timing panel to make the button visible for the whole project on top of any other elements.
- Use the Project | Variables dialog to read the description of the cpCmndCC system variable.
- Create...