Document functions
181
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.
Returns
Nothing.
Description
Replaces all text items (selected and unselected) within the document that are defined as Button
Text items with the specified string. (Button Text items are defined as the topmost text items on
each frame.)
See also
dom.replaceButtonTextStringsInInstances()
Содержание DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
Страница 1: ...Extending Fireworks...
Страница 4: ...4 Contents...
Страница 8: ...8 Chapter 1 Extending Fireworks Overview...
Страница 102: ...102 Chapter 4 Auto Shapes...
Страница 284: ...284 Chapter 5 Fireworks JavaScript API...