Timeline.removeframes() - 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

Parameters
startFrameIndex
If you omit
startFrameIndex
endFrameIndex
The method pastes up to, but not including,
startFrameIndex
is optional.
Returns
Nothing.
Description
Method; pastes the range of frames from the Clipboard into the specified frames.
Example
The following example pastes the frames on the Clipboard to the currently selected frame or
playhead location:
fl.getDocumentDOM().getTimeline().pasteFrames();
The following example pastes the frames on the Clipboard at Frame 2 up to, but not including,
Frame 10 (remember that index values are different from frame number values):
fl.getDocumentDOM().getTimeline().pasteFrames(1, 9);
The following example pastes the frames on the Clipboard starting at Frame 5:
fl.getDocumentDOM().getTimeline().pasteFrames(4);

timeline.removeFrames()

Availability
Flash MX 2004.
Usage
timeline.removeFrames([startFrameIndex [, endFrameIndex]])
Parameters
startFrameIndex
frames. If you omit
selection, all frames at the current playhead on all layers are removed. This parameter is optional.
endFrameIndex
the range of frames goes up to, but does not include,
startFrameIndex
is optional.
Returns
Nothing.
342
Chapter 3: Objects
A zero-based index that specifies the beginning of a range of frames to paste.
, the method uses the current selection. This parameter is optional.
A zero-based index that specifies the frame at which to stop pasting frames.
,
defaults to the
endFrameIndex
A zero-based index that specifies the first frame at which to start removing
, the method uses the current selection; if there is no
startFrameIndex
A zero-based index that specifies the frame at which to stop removing frames;
,
defaults to the
endFrameIndex
. If you specify only
endFrameIndex
startFrameIndex
endFrameIndex
startFrameIndex
value. This parameter
. If you specify only
value. This parameter

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