Document functions
129
Returns
Nothing.
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
fromChannel
If the current selection is not a single bitmap, a new opaque bitmap is created and
the
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.
toChannel
If the currently selected element is a bitmap, the
toChannel
argument is used to
specify where to paste the color data.
Returns
Nothing.
Содержание DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
Страница 1: ...Extending Fireworks...
Страница 4: ...4 Contents...
Страница 8: ...8 Chapter 1 Extending Fireworks Overview...
Страница 102: ...102 Chapter 4 Auto Shapes...
Страница 284: ...284 Chapter 5 Fireworks JavaScript API...