Adding Sound > Adding sounds to buttons |  |

Adding sounds to buttons

You can associate sounds with the different states of a button symbol. Because the sounds are stored with the symbol, they work for all instances of the symbol.

To add sound to a button:

1 | Select the button in the Library panel.
2 | Choose Edit from the options menu in the upper right corner.
3 | In the button's Timeline, add a layer for sound.
4 | In the sound layer, create a regular or blank keyframe to correspond to the button state to which you want to add a sound.
| For example, to add a sound that plays when the button is clicked, create a keyframe in the frame labeled Down.
5 | Click the keyframe you have just created.
6 | Choose Window > Properties.
7 | In the Property inspector, choose a sound file from the Sound pop-up menu.
8 | Choose Event from the Synchronization pop-up menu.
| To associate a different sound with each of the button's keyframes, create a blank keyframe and add another sound file for each keyframe. You can also use the same sound file and apply a different sound effect for each button keyframe. See Using the sound-editing controls.