
120
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Usage
dom.reorderFrame(
frameToMove, frameToPutItBefore, bMakeCopy
)
Arguments
frameToMove
A zero-based index that specifies which frame to move or copy.
frameToPutItBefore
A zero-based index that specifies where to place the frame that is to be moved or copied. For
example, if you pass
1
for
frameToMove
and
0
for
frameToPutItBefore
, the second frame is placed before the first
frame.
bMakeCopy
Boolean. If
true
, the specified frame is copied instead of moved.
Returns
Nothing.
Description
Moves or copies the specified frame before another specified frame.
Example
The following command moves the third frame before the first frame:
fw.getDocumentDOM().reorderFrame(2, 0, false);
dom.reorderLayer()
Availability
Fireworks 3, new arguments added in CS3.
Usage
dom.reorderLayer(
layerToMove, layerToPutItBefore, bMakeCopy, posInLayer, aboveBelowInto
)
Arguments
layerToMove
A zero-based index that specifies which layer to move or copy.
layerToPutItBefore
A zero-based index that specifies where to place the layer to be moved or copied. For example,
if you pass
1
for
layerToMove
and
0
for
layerToPutItBefore
, the second layer is placed before the first layer.
bMakeCopy
Boolean. If
true
, the specified layer is copied instead of moved.
aboveBelowInto
A zero-based index that specifies whether the layer being moved or copied will be a parent layer or
a sub layer. A value of 0 indicates that the layer goes above the destination layer; a value of 1 indicates that the layer
goes below the destination later, a value of 2 indicates that the layer goes into the destination layer to become a sub
layer.
Returns
Nothing.
Description
Moves or copies the specified layer before another specified layer.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...