132
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Returns
Nothing.
Description
Deselects any selected items. If Fireworks is in image edit mode, has a pixel selection, and has a Selection tool selected,
then this function deselects the pixels and exits image edit mode.
dom.selectParents()
Availability
Fireworks 3.
Usage
dom.selectParents()
Arguments
None.
Returns
Nothing.
Description
Selects the parents, if any, of the selection. That is, if all the members of a group are selected, the individual members
are deselected, and the group is selected.
See also
dom.selectChildren()
dom.selectSimilar()
Availability
Fireworks 3.
Usage
dom.selectSimilar(
tolerance, edgemode, featherAmt, combinemode
)
Arguments
tolerance
An integer between 0 and 255, inclusive, that specifies the tolerance for selecting pixels.
edgemode
Acceptable values are
"hard edge"
,
"antialias"
, and
"feather"
.
featherAmt
An integer that specifies the number of pixels to feather. This value is ignored if
edgemode
is not
"feather"
.
combinemode
Specifies how to combine the new selection mask with the existing mask. Acceptable values are
"replace"
,
"add"
,
"subtract"
, and
"intersect"
.