Adobe 38039927 - Fireworks CS3 - PC Extended User Manual page 48

Extending fireworks
Hide thumbs Also See for 38039927 - Fireworks CS3 - PC:
Table of Contents

Advertisement

Usage
dom.changeGuide(currentPosition, newPosition, guidekind)
Arguments
A floating-point value that specifies the current position of the guide.
currentPosition
A floating-point value that specifies the new position of the guide.
newPosition
Acceptable values for
guidekind
, it is assumed that the specified positions are y coordinates; if
"horizontal"
assumed that the specified positions are x coordinates.
Returns
Nothing.
Description
Moves a guide's position to a new location.
Example
The following command moves a vertical guide from position 135 to position 275:
fw.getDocumentDOM().changeGuide(135, 275, "vertical");
dom.changeNineScaleGuide()
Availability
Fireworks CS3.
Usage
dom.changeNineScaleGuide(oldpos, newpos, guidekind)
Arguments
A double precision value that specifies the current position of the guide.
oldpos
A double precision value that specifies the new position of the guide.
newpos
Acceptable values for
guidekind
, it is assumed that the specified positions are y coordinates; if
"horizontal"
assumed that the specified positions are x coordinates.
Returns
Nothing.
Description
Moves a 9-slice scaling guide's position to a new location.
Example
The following command moves a vertical guide from position 135 to position 275:
fw.getDocumentDOM().changeNineScaleGuide(135, 275, "vertical");
are
guidekind
"horizontal"
are
guidekind
"horizontal"
and
. If
"vertical"
guidekind
is
guidekind
"vertical"
and
. If
"vertical"
guidekind
is
guidekind
"vertical"
ADOBE FIREWORKS CS3
44
Extending Guide
is
, it is
is
, it is

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks cs3

Table of Contents