User Guide

156 Fireworks JavaScript API
Example
The following command applies the first style that Fireworks encounters named “Style 7”,
which, in this case, is a default style:
fw.getDocumentDOM().applyStyle("Style 7", 0);
dom.arrange()
Availability
Fireworks 3.
Usage
dom.arrange(arrangemode)
Arguments
arrangemode Acceptable values for arrangemode are "back", "backward", "forward",
and
"front".
Returns
Nothing.
Description
Arranges the selection.
Example
The following command brings the selected items to the front:
fw.getDocumentDOM().arrange("front");
dom.attachTextToPath()
Availability
Fireworks 3.
Usage
dom.attachtTextToPath()
Arguments
None.
Returns
Nothing.