MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 478

Extending flash
Table of Contents

Advertisement

Example
The following example makes the top layer active:
fl.getDocumentDOM().getTimeline().currentLayer = 0;
The following example stores the index of the currently active layer in the
variable:
curLayer
var curLayer = fl.getDocumentDOM().getTimeline().currentLayer;
timeline.cutFrames()
Availability
Flash MX 2004.
Usage
timeline.cutFrames([startFrameIndex [, endFrameIndex]])
Parameters
A zero-based index that specifies the beginning of a range of frames to
startFrameIndex
cut. If you omit
, the method uses the current selection. This parameter is
startFrameIndex
optional.
A zero-based index that specifies the frame at which to stop cutting. The
endFrameIndex
range of frames goes up to, but does not include,
. If you specify only
endFrameIndex
,
defaults to the
value. This parameter
startFrameIndex
endFrameIndex
startFrameIndex
is optional.
Returns
Nothing.
Description
Method; cuts a range of frames on the current layer from the timeline and saves them to the
Clipboard.
478
Objects

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?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents