dom.setHotspotColor()
Availability
Fireworks 3.
Usage
dom.setHotSpotColor(whatToSet, color)
Arguments
Acceptable values are
whatToSet
A color string (see
color
Returns
Nothing.
Description
Sets the color to the specified value for the Hotspots and slices in the selection.
Example
The following command sets the color of the selected Hotspots to red.
fw.getDocumentDOM().setHotspotColor("hotspots", "#ff0000");
dom.setHotspotRectangle()
Availability
Fireworks 3.
Usage
dom.setHotspotRectangle(boundingRectangle, bMakeCopy)
Arguments
boundingRectangle
"Rectangle data type" on page
A Boolean value; if it is
bMakeCopy
and resized.
Returns
Nothing.
Description
If the selection is a single Hotspot or slice, this function moves or copies it to the specified
location at the specified size.
214
Chapter 5: Fireworks JavaScript API
"hotspots"
"Color string data type" on page
A rectangle that specifies the size of the new Hotspot or slice (see
11).
, the selection is copied and resized instead of moved
true
,
, and
"slices"
"hotspots and slices"
11)
.
.
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