User Guide

Document functions 187
Returns
Nothing.
Description
Stores the current selection in bitmap mode as the saved selection. Use
dom.restoreSelection() to restore the selection.
See also
dom.restoreSelection()
dom.scaleSelection()
Availability
Fireworks 3.
Usage
dom.scaleSelection(xScaleAmount, yScaleAmount, opts)
Arguments
xScaleAmount
and yScaleAmount Float values that specify the amount to scale the selection in
the horizontal and vertical axes. Acceptable values are 0.0 or greater; a value of 1 represents 100%,
2 represents 200%, and so on.
opts Acceptable values are "transformAttributes", "autoTrimImages", and
"
autoTrimImages transformAttributes".
Returns
Nothing.
Description
Scales the selection in the horizontal and vertical axes.
Example
The following command scales the selected items to approximately two-thirds (67%) and
automatically trims the images and transforms the attributes.
fw.getDocumentDOM().scaleSelection(0.67, 0.67, "autoTrimImages
transformAttributes");
dom.selectAdjustPixelSel()
Availability
Fireworks 3.
Usage
dom.selectAdjustPixelSel(whatToDo, amount)