User Guide
42 Chapter 2: The Fireworks Object Model
Hotspot object
A Hotspot converts to an image map during HTML export. Hotspot is a subclass of the base
class Element and contains the following properties in addition to those in Element (see “Element
object” on page 39).
SliceHotspot object
A slice Hotspot converts to an image slice during HTML export. SliceHotspot is a subclass of the
base class Hotspot and contains the following properties in addition to those in Hotspot (see
Hotspot object). Read-only properties are marked with a bullet (•).
Property Data type Notes
altText
string Text that is written into the HTML Alt tag
when exporting.
behaviors
array Array of Behavior objects for the Hotspot
(see “Behavior object” on page 26).
color
string Color in which the Hotspot is drawn in
the Document window. Default value
is
"#00FFFF".
contour
object Contour object for the Hotspot (see
“Contour object” on page 29). Used only if
shape="polyline"; otherwise null.
shape
string Acceptable values are "rectangle",
"circle"
, and "polyline".
targetText
string Text that is written into the HTML Target tag
when exporting.
urlText
string Text that is written into the HTML Href tag
when exporting.
Property Data type Notes
baseName
string Base name for slice filenames, or null for
automatic name.
exportOptions
object ExportOptions object (see “ExportOptions
object” on page 46);
null if using current
document defaults.
htmlText
string If sliceKind is set to "empty", this text is
exported instead of the image. The default is
an empty string.
sliceID • string An arbitrary string that uniquely identifies
this slice.