Objects within Fireworks documents
53
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 (for more
information, see
“Element object” on page 49
).
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
(for more information, 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
(for more information, see
“Behavior
object” on page 33
).
color
string
Color in which the Hotspot is drawn in
the Document window. Default value
is
"#00FFFF"
.
contour
object
Contour object for the Hotspot (for more
information, see
“Contour object”
on page 36
). 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 (for more
information, see
“ExportOptions object”
on page 58
);
null
if using current
document defaults.
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...