Document functions
243
Arguments
where
A point that specifies the
x,y
coordinates of the pixel whose color is used to calculate
the new mask (see
“Point data type” on page 12
).
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"
.
Returns
Nothing.
Description
Behavior is almost identical to
dom.selectSimilar()
, except that the new mask is calculated
from the color at the specified location in the image, rather than from the average color in
the selection.
See also
dom.selectSimilar()
dom.sendEmail()
Availability
Fireworks MX 2004.
Usage
dom.sendEmail(
fileAttachment
)
Arguments
fileAttachment
A string, which is expressed as
file://URL
, denoting the location of a file to
send by e-mail.
Returns
Nothing.
Description
Creates a new e-mail with the specified file as an attachment.
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...