Example
The following example converts the selected frames to keyframes:
fl.getDocumentDOM().getTimeline().convertToKeyframes();
The following example converts to keyframes the frames from Frame 2 up to, but not including,
Frame 10 (remember that index values are different from frame number values):
fl.getDocumentDOM().getTimeline().convertToKeyframes(1, 9);
The following example converts Frame 5 to a keyframe:
fl.getDocumentDOM().getTimeline().convertToKeyframes(4);
timeline.copyFrames()
Availability
Flash MX 2004.
Usage
timeline.copyFrames([startFrameIndex [, endFrameIndex]])
Parameters
startFrameIndex
copy. If you omit
optional.
endFrameIndex
range of frames to copy goes up to, but does not include,
startFrameIndex
optional.
Returns
Nothing.
Description
Method; copies a range of frames on the current layer to the Clipboard.
Example
The following example copies the selected frames to the Clipboard:
fl.getDocumentDOM().getTimeline().copyFrames();
The following example copies Frame 2 up to, but not including, Frame 10, to the Clipboard
(remember that index values are different from frame number values):
fl.getDocumentDOM().getTimeline().copyFrames(1, 9);
The following example copies Frame 5 to the Clipboard:
fl.getDocumentDOM().getTimeline().copyFrames(4);
330
Chapter 3: Objects
A zero-based index that specifies the beginning of the range of frames to
, the method uses the current selection. This parameter is
startFrameIndex
A zero-based index that specifies the frame at which to stop copying. The
,
defaults to the value of
endFrameIndex
. If you specify only
endFrameIndex
. This parameter is
startFrameIndex
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?