Adding Sound > Using sounds with shared libraries or with Sound objects

Using sounds with shared libraries or with Sound objects

You can link a sound from one library to multiple Flash movies by assigning linkage properties to the sound and including the sound in a shared library. For more information on using shared libraries, see Using shared libraries.

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

To use a sound in a shared library or 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 window.
2 Do one of the following:
Choose Linkage from the Library Options menu.
Right-click (Windows) or Control-click (Macintosh) the sound name in the Library window, and choose Linkage from the context menu.
3 Under Linkage in the Symbol Linkage Properties dialog box, select Export This Symbol.
4 Enter an identifier string in the text box, and then click OK.