![MACROMEDIA FLASH 8-EXTENDING FLASH Manual Download Page 475](http://html1.mh-extra.com/html/macromedia/flash-8-extending-flash/flash-8-extending-flash_manual_3348049475.webp)
Timeline object
475
Returns
Nothing.
Description
Method; converts a range of frames to keyframes (or converts the selection if no frames are
specified) on the current layer.
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
A zero-based index that specifies the beginning of the range of frames to
copy. If you omit
startFrameIndex
, the method uses the current selection. This parameter is
optional.
endFrameIndex
A zero-based index that specifies the frame at which to stop copying. The
range of frames to copy goes up to, but does not include,
endFrameIndex
. If you specify only
startFrameIndex
,
endFrameIndex
defaults to the value of
startFrameIndex
. This
parameter is optional.
Returns
Nothing.
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...