
250
EXTENDING FIREWORKS
Objects within Fireworks documents
Las
t
up
d
a
ted
12/8/2009
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 247).
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
” on
page 250). Read-only properties are marked with a bullet (•).
Property
Data type
Notes
altText
string
The alternate text description.
instanceType
•
string
The type of element, for example
"graphic"
,
"button"
, or
"animation"
.
symbolID
•
string
An arbitrary string that uniquely identifies the symbol that
owns this instance.
symbolName
string
Specifies the symbol name.
targetText
string
The target.
transform
Matrix
Specifies the transformation matrix of a symbol instance.
transformMode
string
Acceptable values are
"paths"
and
"pixels"
.
urlText
string
The link text.
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
236).
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
239). 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
253);
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.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...