User Guide
186 Chapter 3: Objects
frame.actionScript
Availability
Flash MX 2004.
Usage
frame.actionScript
Description
Property; a string representing ActionScript code.
Example
The following example assigns stop() to first frame top layer action:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].actionScript =
'stop();';
frame.duration
Availability
Flash MX 2004.
Usage
frame.duration
frame.soundLibraryItem Property; a library item (see SoundItem object) used to create a
sound.
frame.soundLoop Property; an integer value that specifies the number of times a
sound that is attached directly to a frame
(
frame.soundLibraryItem) plays.
frame.soundLoopMode Property; a string that specifies whether a sound that is
attached directly to a frame (
frame.soundLibraryItem) should
play a specific number of times or loop indefinitely.
frame.soundName Property; a string that specifies the name of a sound that is
attached directly to a frame (
frame.soundLibraryItem), as
stored in the library.
frame.soundSync Property; a string that specifies the sync behavior of a sound
that is attached directly to a frame (
frame.soundLibraryItem).
frame.startFrame Read-only; the index of the first frame in a sequence.
frame.tweenEasing Property; an integer that specifies the amount of easing that
should be applied to the tweened object.
frame.tweenType Property; a string that specifies the type of tween; valid values
are
"motion", "shape", or "none".
Property Description