User Guide

Document functions 185
dom.rotateSelection()
Availability
Fireworks 3.
Usage
dom.rotateSelection(rotationDegrees, opts)
Arguments
rotationDegrees
A floating-point value that specifies the number of degrees to rotate
the selection.
opts Acceptable values are "transformAttributes", "autoTrimImages", and
"
autoTrimImages transformAttributes".
Returns
Nothing.
Description
Rotates the selection clockwise by the specified number of degrees. Rotating 270º is the same
behavior as rotating 90º counterclockwise.
dom.save()
Availability
Fireworks 3.
Usage
dom.save({bOkToSaveAs})
Arguments
bOkToSaveAs
If this optional argument is true or omitted and the file was never saved, then
the Save As dialog box appears. If
bOkToSaveAs is false and the file was never saved, the file is
not saved.
Returns
true
if the save operation is successful; false otherwise.
Description
Saves the document in its default location. After a successful save operation, the document’s
isDirty property is cleared.