![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 5.
my_sound
.attachSound("
idName
")
idName
The identifier of an exported sound in the library. The identifier is located in the Linkage Properties dialog box.
Nothing.
Method; attaches the sound specified in the idName
parameter to the specified Sound object. The sound must be in the library of the current SWF file and specified for export in the Linkage Properties dialog box. You must call Sound.start()
to start playing the sound.
To make sure that the sound can be controlled from any scene in the SWF file, place the sound on the main Timeline of the SWF file.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |