Timeline.clearkeyframes(); Timeline.converttoblankkeyframes() - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

Example
The following example clears the frames from Frame 6 up to, but not including, Frame 11
(remember that index values are different from frame number values):
fl.getDocumentDOM().getTimeline().clearFrames(5, 10);
The following example clears Frame 15:
fl.getDocumentDOM().getTimeline().clearFrames(14);

timeline.clearKeyframes()

Availability
Flash MX 2004.
Usage
timeline.clearKeyframes([startFrameIndex [, endFrameIndex]])
Parameters
startFrameIndex
If you omit
startFrameIndex
endFrameIndex
range goes up to, but does not include,
endFrameIndex
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]])
328
Chapter 3: Objects
A zero-based index that defines the beginning of the range of frames to clear.
, the method uses the current selection. This parameter is optional.
A zero-based index that defines the end of the range of frames to clear. The
defaults to the value of
. If you specify only
endFrameIndex
. This parameter is optional.
startFrameIndex
,
startFrameIndex

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents