![MACROMEDIA FIREWORKS 8-EXTENDING FIREWORKS Manual Download Page 157](http://html1.mh-extra.com/html/macromedia/fireworks-8-extending-fireworks/fireworks-8-extending-fireworks_manual_3339145157.webp)
Document functions
157
Description
Attaches the selected text to the selected path. If no text and path are selected, no action
occurs.
Example
When two items are selected (one a text block and the other a shape), the following command
attaches the text block to the shape’s path:
fw.getDocumentDOM().attachTextToPath();
dom.changeGuide()
Availability
Fireworks 3.
Usage
dom.changeGuide(
currentPosition
,
newPosition
,
guidekind
)
Arguments
currentPosition
A floating-point value that specifies the current position of the guide.
newPosition
A floating-point value that specifies the new position of the guide.
guidekind
Acceptable values for
guidekind
are
"horizontal"
and
"vertical"
. If
guidekind
is
"horizontal"
, it is assumed that the specified positions are
y
coordinates; if
guidekind
is
"vertical"
, it is 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");
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...