User Guide

Document functions 283
dom.setSelectionBounds()
Availability
Fireworks 3.
Usage
dom.setSelectionBounds(boundingRectangle, opts)
Arguments
boundingRectangle A rectangle that specifies the new location and size of the selection (see
“Rectangle data type” on page 12).
opts Acceptable values are "transformAttributes", "autoTrimImages", and
"autoTrimImages transformAttributes".
Returns
Nothing.
Description
Moves and resizes the selection in a single operation.
dom.setSelectionMask()
Availability
Fireworks 4.
Usage
dom.setSelectionMask(mask, howToCombineMasks)
Arguments
mask Specifies the mask to be applied (see “Mask data type” on page 11). If mask is null, an
existing pixel-selection mask is removed.
howToCombineMasks If there was previously a mask and mask is not null,
howToCombineMasks specifies how the two masks should be combined. Acceptable values are
"replace", "add", "subtract", and "intersect".
Returns
Nothing.