Adding Sound > Using sounds with Sound objects |  |

Using sounds with Sound objects

You can use the Sound object in ActionScript to add sounds to a movie and to control sound objects in a movie. Controlling sounds includes adjusting the volume or the right and left balance while a sound is playing. See Creating sound controls.

To use a sound in a Sound action, you assign an identifier string to the sound in the Symbol Linkage dialog box.

To assign an identifier string to a sound:

1 | Select the sound in the Library panel.
2 | Do one of the following:
| Choose Linkage from the options menu in the upper right corner of the panel.
| Right-click (Windows) or Control-click (Macintosh) the sound name in the Library panel, and choose Linkage from the context menu.
3 | Under Linkage in the Symbol Linkage Properties dialog box, select Export for ActionScript.
4 | Enter an identifier string in the text box, and then click OK.