MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 492

Extending flash
Table of Contents

Advertisement

Parameters
A zero-based index that specifies which layer to move.
layerToMove
A zero-based index that specifies which layer you want to move the layer
layerToPutItBy
next to. For example, if you specify 1 for
and 0 for
, the
layerToMove
layerToPutItBy
second layer is placed next to the first layer.
Specifies whether to move the layer before or after
. If you
bAddBefore
layerToPutItBy
specify
, the layer is moved after
. The default value is
. This
false
layerToPutItBy
true
parameter is optional.
Returns
Nothing.
Description
Method; moves the first specified layer before or after the second specified layer.
Example
The following example moves the layer at index 2 to the top (on top of the layer at index 0):
fl.getDocumentDOM().getTimeline().reorderLayer(2, 0);
The following example places the layer at index 3 after the layer at index 5:
fl.getDocumentDOM().getTimeline().reorderLayer(3, 5, false);
timeline.reverseFrames()
Availability
Flash MX 2004.
Usage
timeline.reverseFrames([startFrameIndex [, endFrameIndex]])
Parameters
A zero-based index that specifies the first frame at which to start
startFrameIndex
reversing frames. If you omit
, the method uses the current selection. This
startFrameIndex
parameter is optional.
A zero-based index that specifies the first frame at which to stop reversing
endFrameIndex
frames; the range of frames goes up to, but does not include,
. If you specify
endFrameIndex
only
,
defaults to the value of
. This
startFrameIndex
endFrameIndex
startFrameIndex
parameter is optional.
492
Objects

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents