Document functions
163
maskReplaceOptions
Acceptable values for
maskReplaceOptions
are "
replace
" (if an
element mask already exists, replace it with the pasted one), "
add
" (if an element mask
already exists, add the pasted mask to it), and "
ask
" (displays a dialog box to let the user
decide).
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();
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 ...