MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 284

Extending flash
Table of Contents

Advertisement

Description
Property; a library item (see
directly to the frame.
Example
The following example assigns the first item in the library to the
of the first frame:
// The first item in the library must be a sound object
fl.getDocumentDOM().getTimeline().layers[0].frames[0].soundLibraryItem
=fl.getDocumentDOM().library.items[0];
frame.soundLoop
Availability
Flash MX 2004.
Usage
frame.soundLoop
Description
Property; an integer value that specifies the number of times a sound that is attached directly
to a frame (
frame.soundLibraryItem
set
frame.soundLoopMode
Example
See
frame.soundLoopMode
frame.soundLoopMode
Availability
Flash MX 2004.
Usage
frame.soundLoopMode
Description
Property; a string that specifies whether a sound that is attached directly to a frame
(
frame.soundLibraryItem
Acceptable values are
should play, set a value for
284
Objects
SoundItem
object) used to create a sound. The sound is attached
) plays. If you want to specify a value for this property,
to
.
"repeat"
.
) should play a specific number of times or loop indefinitely.
and
"repeat"
"loop"
frame.soundLoop
soundLibraryItem
. To specify the number of times the sound
.
property

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents