Adobe 38039927 - Fireworks CS3 - PC Extended User Manual page 53

Extending fireworks
Hide thumbs Also See for 38039927 - Fireworks CS3 - PC:
Table of Contents

Advertisement

ADOBE FIREWORKS CS3
49
Extending Guide
Description
Pastes the Clipboard contents into the document as an element mask. Only one element can be selected when calling
this function. If more than one element (or none) is selected when this function is called, Fireworks throws an
exception. An exception is also thrown if there is nothing on the Clipboard.
dom.clipPasteAttributes()
Availability
Fireworks 3.
Usage
dom.clipPasteAttributes()
Arguments
None.
Returns
Nothing.
Description
Pastes the attributes from the Clipboard onto the selection.
Example
The following command applies the attributes that were copied to the Clipboard onto the selected items:
fw.getDocumentDOM().clipPasteAttributes();
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 and the
fromChannel
fromChannel
is pasted in to all three color channels of the new bitmap, resulting in a 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 specify where to paste
toChannel
toChannel
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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks cs3

Table of Contents