Frame object
193
frame.soundSync
Availability
Flash MX 2004.
Usage
frame.soundSync
Description
Property; a string that specifies the sync behavior of a sound that is attached directly to a frame
(
frame.soundLibraryItem
). Acceptable values are
"event"
,
"stop"
,
"start"
, and
"stream"
.
Example
The following example specifies that a sound should stream:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].soundSync = 'stream';
frame.startFrame
Availability
Flash MX 2004.
Usage
frame.startFrame
Description
Read-only property; the index of the first frame in a sequence.
Example
In the following example,
stFrame
is the index of the first frame in the frame sequence. In this
example, a frame sequence is spanning the six frames from Frame 5 to Frame 10. Therefore, the
value of
stFrame
at any frame between Frame 5 and Frame 10 is 4 (remember that index values
are different from frame number values).
var stFrame =
fl.getDocumentDOM().getTimeline().layers[0].frames[4].startFrame;
fl.trace(stFrame); // 4
var stFrame =
fl.getDocumentDOM().getTimeline().layers[0].frames[9].startFrame;
fl.trace(stFrame); // 4
frame.tweenEasing
Availability
Flash MX 2004.
Usage
frame.tweenEasing
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...