MACROMEDIA FIREWORKS 8-EXTENDING FIREWORKS Manual page 164

Table of Contents

Advertisement

dom.clipPasteFromChannelToChannel()
Availability
Fireworks MX.
Usage
dom.clipPasteFromChannelToChannel(fromChannel, toChannel)
Arguments
If the current selection is not a single bitmap, a new opaque bitmap is created
fromChannel
and the
is pasted in to all three color channels of the new bitmap, resulting in a
fromChannel
grayscale image. This first argument is ignored if the current selection is not a single bitmap.
If the currently selected element is a bitmap, the
argument is used to
toChannel
toChannel
specify where to paste the color data.
Returns
Nothing.
Description
Pastes the specified color channel on the Clipboard into each of the RGB channels of a new
image or into the specified channel of the selected image, if any.
Example
The following command copies the red data from the Clipboard into the red channel:
fw.getDocumentDOM().clipPasteFromChannelToChannel("red", "red");
The following command copies the green data from the Clipboard into the alpha channel:
fw.getDocumentDOM().clipPasteFromChannelToChannel("green", "alpha");
dom.clipPasteInside()
Availability
Fireworks 3, deprecated in 4 in favor of
(see
dom.clipPasteAsMask()
"dom.clipPasteAsMask()" on page
162).
Usage
dom.clipPasteInside({whatIfResolutionDifferent})
164
Fireworks JavaScript API

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Fireworks 8

Table of Contents