S > Sound.attachSound

 

Sound.attachSound

Availability

Flash Player 5.

Usage

mySound.attachSound("idName")

Parameters

idName The identifier of an exported sound in the Library. The identifier is located in the Symbol Linkage Properties dialog box.

Returns

Nothing.

Description

Method; attaches the sound specified in the idName parameter to the specified Sound object. The sound must be in the library of the current movie and specified for export in the Symbol Linkage Properties dialog box. You must call Sound.start to start playing the sound.

See also

Sound.start