492
Objects
Parameters
layerToMove
A zero-based index that specifies which layer to move.
layerToPutItBy
A zero-based index that specifies which layer you want to move the layer
next to. For example, if you specify 1 for
layerToMove
and 0 for
layerToPutItBy
, the
second layer is placed next to the first layer.
bAddBefore
Specifies whether to move the layer before or after
layerToPutItBy
. If you
specify
false
, the layer is moved after
layerToPutItBy
. The default value is
true
. This
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
startFrameIndex
A zero-based index that specifies the first frame at which to start
reversing frames. If you omit
startFrameIndex
, the method uses the current selection. This
parameter is optional.
endFrameIndex
A zero-based index that specifies the first frame at which to stop reversing
frames; the range of frames goes up to, but does not include,
endFrameIndex
. If you specify
only
startFrameIndex
,
endFrameIndex
defaults to the value of
startFrameIndex
. This
parameter is optional.
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...