142
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Usage
dom.setButtonShowDownOnLoad(
bShowDownOnLoad
)
Arguments
bShowDownOnLoad
Boolean. If
true
, the Down-State-on-Load is shown in the button; if
false
, it is not.
Returns
Nothing.
Description
If the user edits a Button document, this function specifies whether to show the Down-State-on-Load in a button.
dom.setButtonOptions()
Availability
Fireworks 3.
Usage
dom.setButtonOptions(
exportOptions, URLString, altTagString, targetTagString, sliceName,
statusMessage)
Arguments
exportOptions
An ExportOptions object (see “
ExportOptions object
” on page 253).
URLString
A string that specifies the URL for the button(s).
altTagString
and
targetTagString
Specify the text for the button alt tag and target tag.
sliceName
A string that specifies the name to be assigned to the slice that is associated with the button. If it is
null
,
the slice is set to be named automatically.
statusMessage
A string that specifies a status message to appear in the browser status line. If an empty string or
null
is passed, no status message appears.
Returns
Nothing.
Description
Sets the Button Export options. If the user edits a button, it sets options for the button being edited; if the user edits a
normal document, it sets options for all the selected buttons.
dom.setDefaultBrushAndFillColors()
Availability
Fireworks 3.
Usage
dom.setDefaultBrushAndFillColors()