User Guide
Frame object 191
frame.soundEffect
Availability
Flash MX 2004.
Usage
frame.soundEffect
Description
Property; a string that specifies effects for a sound that is attached directly to a frame
(
frame.soundLibraryItem). Acceptable values are "none", "left channel", "right
channel"
, "fade left to right", "fade right to left", "fade in", "fade out", and
"custom".
Example
The following example specifies that the sound attached to the first frame should fade in:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].soundEffect = "fade in";
frame.soundLibraryItem
Availability
Flash MX 2004.
Usage
frame.soundLibraryItem
Description
Property; a library item (see SoundItem object) used to create a sound. The sound is attached
directly to the frame.
Example
The following example assigns the first item in the library (which must be a sound object) to the
soundLibraryItem property of the first frame:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].soundLibraryItem
=fl.getDocumentDOM().library.items[0];
frame.soundLoop
Availability
Flash MX 2004.
Usage
frame.soundLoop