Example
The following command adds one frame after the current frame but does not change the
active frame.
fw.getDocumentDOM().addFrames(1, "after current", false);
dom.addGuide()
Availability
Fireworks 3.
Usage
dom.addGuide(float position, guidekind)
Arguments
A floating-point value that specifies the x or y coordinate at which to add the guide.
position
Acceptable values for
guidekind
, it is assumed that
"horizontal"
x coordinate.
Returns
Nothing.
Description
Adds a guide to the document. If a guide already exists at the specified position, this function
has no effect.
Example
The following command adds a vertical guide at the x coordinate of 217.
fw.getDocumentDOM().addGuide(217, "vertical");
dom.addNewHotspot()
Availability
Fireworks 3.
Usage
dom.addNewHotspot(hotspot-kind, hotspot-shape, boundingRectangle)
Arguments
hotspot-kind
hotspot-shape
boundingRectangle
(see
"Rectangle data type" on page
Returns
Nothing.
110
Chapter 5: Fireworks JavaScript API
guidekind
position
Acceptable values are
"hotspot"
Acceptable values are
A rectangle that specifies the bounds within which the Hotspot is placed
11).
are
"horizontal"
is a y coordinate; if
and
"slice"
and
"rectangle"
"oval"
and
. If
"vertical"
, it is an
"vertical"
.
.
guidekind
is
Need help?
Do you have a question about the FIREWORKS MX 2004-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers