User Guide

146 Chapter 5: Fireworks JavaScript API
Arguments
antiAlias
A Boolean value to turn anti-aliasing on (true) or off (false).
Returns
Nothing.
Description
Turns anti-aliasing on or off for the selected blocks of text.
dom.enterElementMaskEditMode()
Availability
Fireworks 4.
Usage
dom.enterElementMaskEditMode()
Arguments
None.
Returns
Nothing.
Description
Places Fireworks in element-mask edit mode for the selection. If the selection contains no mask
elements, Fireworks throws an exception.
dom.enterPaintMode()
Availability
Fireworks 3, with the argument newSelectionMask added in Fireworks MX.
Usage
dom.enterPaintMode(newSelectionMask)
Arguments
newSelectionMask
An optional bitmap selection mask. When newSelectionMask is not null,
the selection is set on the currently selected bitmap after entering paint mode. This argument is
null by default.
Returns
Nothing.
Description
Enters image edit mode on the selected items. Has no effect if nothing is selected or if a nonimage
item is selected.