342
Chapter 3: Objects
Parameters
startFrameIndex
A zero-based index that specifies the beginning of a range of frames to paste.
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 pasting frames.
The method pastes up to, but not including,
endFrameIndex
. If you specify only
startFrameIndex
,
endFrameIndex
defaults to the
startFrameIndex
value. This parameter
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
A zero-based index that specifies the first frame at which to start removing
frames. If you omit
startFrameIndex
, the method uses the current selection; if there is no
selection, all frames at the current playhead on all layers are removed. This parameter is optional.
endFrameIndex
A zero-based index that specifies the frame at which to stop removing frames;
the range of frames goes up to, but does not include,
endFrameIndex
. If you specify only
startFrameIndex
,
endFrameIndex
defaults to the
startFrameIndex
value. This parameter
is optional.
Returns
Nothing.
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...