MACROMEDIA FIREWORKS MX 2004-EXTENDING FIREWORKS Manual page 220

Extending fireworks
Hide thumbs Also See for FIREWORKS MX 2004-EXTENDING FIREWORKS:
Table of Contents

Advertisement

dom.setPixelMask()
Availability
Fireworks 3, deprecated in 4 in favor of
Usage
dom.setPixelMask(mask, howToCombineMasks)
Arguments
A mask variable that specifies the mask to be applied (see
mask
is
, any existing pixel-selection mask is removed.
mask
null
howToCombineMasks
howToCombineMasks
howToCombineMasks
Returns
Nothing.
Description
If Fireworks is in bitmap mode, this function sets the pixel-selection mask of the current image to
the specified mask.
See Also
dom.setSelectionMask()
dom.setOnionSkinning()
Availability
Fireworks 3.
Usage
dom.setOnionSkinning(before, after)
Arguments
and
before
after
current one. To disable onion skinning, pass
all frames, pass
0
Returns
Nothing.
Description
Sets the onion-skinning options for the document.
Example
The following command turns on onion skinning two frames before the selected frame and zero
frames after it.
fw.getDocumentDOM().setOnionSkinning(2, 0);
220
Chapter 5: Fireworks JavaScript API
If there was previously a mask and the new mask is also not
specifies how the two masks should be combined. Acceptable values for
are
,
"replace"
"add"
Integers that specify the number of frames to display before and after the
for
and a large number (for example,
before
dom.setSelectionMask()
,
, and
"subtract"
for both arguments. To enable onion skinning for
0
.
"Mask data type" on page
null
.
"intersect"
) for
.
99,999
after
11). If
, then

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FIREWORKS MX 2004-EXTENDING FIREWORKS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Fireworks mx 2004

Table of Contents