Adobe 65011817 - Fireworks CS4 - Mac Extended User Manual page 132

Extending guide
Hide thumbs Also See for 65011817 - Fireworks CS4 - Mac:
Table of Contents

Advertisement

Last updated 12/8/2009
dom.scaleSelection()
Availability
Fireworks 3.
Usage
dom.scaleSelection(xScaleAmount, yScaleAmount, opts)
Arguments
and
xScaleAmount
yScaleAmount
vertical axes. Acceptable values are 0.0 or greater; a value of 1 represents 100%, 2 represents 200%, and so on.
Acceptable values are
opts
".
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.scalingGridRect()
Availability
Fireworks 9.
Usage
dom.scalingGridRect(left, top, right, bottom)
Arguments
Specifies the bounds of the grid rectangle.
bounds
Returns
Nothing.
Description
Sets the positions of the 9-slice scaling guides by specifying the size of the rectangle they surround.
Example
The following command sets the 9-slice scaling grid rectangle to -50, -50, 50, 50:
fw.getDocumentDOM().scalingGridRect({-50, -50, 50, 50});
Float values that specify the amount to scale the selection in the horizontal and
"transformAttributes"
,
, and "
"autoTrimImages"
EXTENDING FIREWORKS
The Document object
autoTrimImages
128

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks cs4

Table of Contents