S > Sound.attachSound

Sound.attachSound

Syntax

mySound.attachSound("idName");

Arguments

idName The name for the new instance of the sound. This is the same as the name entered for the identifier in the Symbol Linkage Properties dialog box. This argument must be enclosed in " " (quotation marks).

Description

Method; attaches the sound specified in the idName argument 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.

Player

Flash 5 or later.

See also

Sound.start