MACROMEDIA FIREWORKS 8-EXTENDING FIREWORKS Manual page 140

Table of Contents

Advertisement

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
Acceptable values are
and
.
hotspot-kind
"hotspot"
"slice"
Acceptable values are
and
.
hotspot-shape
"rectangle"
"oval"
A rectangle that specifies the bounds within which the Hotspot is
boundingRectangle
placed (see
"Rectangle data type" on page
12).
Returns
Nothing.
Description
Adds a new Hotspot that fits into the specified bounding rectangle.
Example
The following command adds a new rectangle slice with the specified coordinates:
fw.getDocumentDOM().addNewHotspot("slice","rectangle",{left:0, top:0,
right:50, bottom:100});
dom.addNewImage()
Availability
Fireworks 3.
Usage
dom.AddNewImage(boundRectangle, bEnterPaintMode)
140
Fireworks JavaScript API

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Fireworks 8

Table of Contents