User Guide
250 Fireworks JavaScript API
dom.setBrushName()
Availability
Fireworks 3.
Usage
dom.setBrushName(category, currentName, newName)
Arguments
category A string that specifies the category of the brush to be renamed.
currentName A string that specifies the current name of the brush.
newName A string that specifies the new name of the brush.
Returns
Nothing.
Description
Renames a brush. Does not change the brush category.
dom.setBrushNColor()
Availability
Fireworks 3.
Usage
dom.setBrushNColor(brush, brushColor)
Arguments
brush A Brush object (see “Brush object” on page 33).
brushColor A color string (see “Color string data type” on page 11).
Returns
Nothing.
Description
Sets the selection to the specified brush and brush color.