User Guide
26 Chapter 2: The Fireworks Object Model
Objects within Fireworks documents
This section describes the objects that can get or set the properties of elements in a Fireworks
document. For syntax on accessing Fireworks documents and elements within them, see
“Accessing a Fireworks document” on page 10 and “Passing values” on page 10.
Note: For information on how to format nonstandard data types, such as rectangle or point, see
“Formatting nonstandard data types” on page 11.
Behavior object
The following table lists the properties of the Behavior object, along with their data types and,
where appropriate, acceptable values and notes.
Brush object
The following table lists the properties of the Brush object, along with their data types and, where
appropriate, acceptable values and notes.
Property Data type Notes
call
string The JavaScript call for the behavior. For
legal values, see “Using the
dom.addBehavior() function” on page 105.
event
string Acceptable values are "onMouseOver",
"onClick", "onMouseOut", "onLoad", and
"**ANY**" (the **ANY** argument is used as
a wildcard value in some situations).
Property Data type Notes
alphaRemap
string Acceptable values are "none", "white neon",
"harsh wet", "smooth neon", "wavy gravy",
and
"white neon edge".
angle
integer 0 to 360
antiAliased
Boolean If set to true, the brush edges are
anti-aliased.
aspect
float 0 to 100
blackness
float 0 to 100
category
string Determines in which subsection of the
Stroke panel the brush will appear (for
example, Pencil, Airbrush, and so on).
concentration
float 0 to 100
dashOffSize1, dashOffSize2,
dashOffSize3
integer The lengths in pixels of spaces for a dotted
line, these values control the first, second,
and third spaces, respectively.
dashOnSize1, dashOnSize2,
dashOnSize3
integer The lengths, in pixels, of dashes for a dotted
line, these values control the first, second,
and third dashes, respectively.