
236
Las
t
up
d
a
ted
12/8/2009
Chapter 5: Objects within Fireworks
documents
This chapter 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 6 and
“
Passing values
” on page 6.
Note:
For information on how to format nonstandard data types, such as rectangle or point, see “
Formatting
nonstandard data types
” on page
7.
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
31.
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.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...