
273
EXTENDING FIREWORKS
HTML export objects
Las
t
up
d
a
ted
12/8/2009
BehaviorsList object
The BehaviorsList object is an array of BehaviorInfo objects that describe the behaviors in an image map (see
“
BehaviorInfo object
” on page 270). The BehaviorsList object does not occur by itself. That is, all occurrences of
BehaviorsList objects are members of other objects. In the following example,
behaviors
is an object of type
BehaviorsList, and
curBehavior
is an object of type BehaviorInfo.
var curBehavior = slices[i][j].behaviors[k];
The BehaviorsList object has only one property, which is read-only and is shown in the following table.
exportDoc object
The following table lists the properties of the exportDoc object, along with their data types and, where appropriate,
acceptable values and notes. All
exportDoc
properties are read-only.
Note:
This object type does not start with a capital letter.
textOverColor
string
If
action
is set to 9 (Popup Menu), specifies the menu text
color for the over state.
textSize
integer
If
action
is set to 9 (Popup Menu), specifies the point size for
the menu text.
textUpColor
string
If
action
is set to 9 (Popup Menu), specifies the menu text
color for the Up state.
vertical
Boolean
If
action
is set to 9 (Popup Menu), specifies whether the menu
is vertical.
vertOffset
integer
If
action
is set to 9 (Popup Menu),
vertOffset
specifies the
vertical pixel offset for the menu.
vertSubmenuOffset
integer
Specifies the vertical offset of the submenu.
Property (read-only)
Data type
Notes
numberOfBehaviors
integer
The number of BehaviorInfo objects in the BehaviorsList array
(0 or more) (see “
BehaviorInfo object
” on page
270).
Property (read-only)
Data type
Notes
altText
string
The alternate text description for the Fireworks document.
backgroundAttachment
string
Specifies whether the document has a background image. If an
image is set in the HTML set up, returns
true
.
backgroundColor
string
The hexadecimal color of the document canvas, without the #
character; for example,
"FF0000"
for red background.
backgroundIsTransparent
Boolean
Set to
true
if the Fireworks canvas color is transparent or if the
export settings specify a transparent GIF format;
false
otherwise.
backgroundLink
string
The background URL, which is expressed as
file://URL
.
Property (read-only)
Data type
Notes
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...