Document functions
229
Example
The following command moves the third frame before the first frame:
fw.getDocumentDOM().reorderFrame(2, 0, false);
dom.reorderLayer()
Availability
Fireworks 3.
Usage
dom.reorderLayer(
layerToMove
,
layerToPutItBefore
,
bMakeCopy
)
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
If
bMakeCopy
is
true
, the specified layer is copied instead of moved.
Returns
Nothing.
Description
Moves or copies the specified layer before another specified layer.
dom.replaceButtonTextStrings()
Availability
Fireworks 3.
Usage
dom.replaceButtonTextStrings(
newString
,
uniformAttrs
)
Arguments
newString
Specifies the string to be used as replacement text.
uniformAttrs
If
uniformAttrs
is
false
, each character retains the attributes of the
character that was formerly in its position; that is, Fireworks preserves the existing formatting.
If
uniformAttrs
is
true
, all characters assume the attributes of the first character in the string
that is being replaced.
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...