User Guide

230 Fireworks JavaScript API
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()
dom.replaceButtonTextStringsInInstances()
Availability
Fireworks 3.
Usage
dom.replaceButtonTextStringsInInstances(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 selected button text items with the specified string. (Button text items are defined as
the topmost text items on each frame.)
See also
dom.replaceButtonTextStrings()