MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 473

Extending flash
Table of Contents

Advertisement

timeline.clearKeyframes()
Availability
Flash MX 2004.
Usage
timeline.clearKeyframes([startFrameIndex [, endFrameIndex]])
Parameters
A zero-based index that defines the beginning of the range of frames to
startFrameIndex
clear. If you omit
, the method uses the current selection. This parameter is
startFrameIndex
optional.
A zero-based index that defines the end of the range of frames to clear. The
endFrameIndex
range goes up to, but does not include,
. If you specify only
endFrameIndex
,
defaults to the value of
. This
startFrameIndex
endFrameIndex
startFrameIndex
parameter is optional.
Returns
Nothing.
Description
Method; converts a keyframe to a regular frame and deletes its contents on the current layer.
Example
The following example clears the keyframes from Frame 5 up to, but not including, Frame 10
(remember that index values are different from frame number values):
fl.getDocumentDOM().getTimeline().clearKeyframes(4, 9);
The following example clears the keyframe at Frame 15 and converts it to a regular frame:
fl.getDocumentDOM().getTimeline().clearKeyframes(14);
timeline.convertToBlankKeyframes()
Availability
Flash MX 2004.
Usage
timeline.convertToBlankKeyframes([startFrameIndex [, endFrameIndex]])
Timeline object
473

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents