Document functions
143
Description
Makes a duplicate of the selection, offsetting it slightly from the original.
Example
The following command duplicates the selected items.
fw.getDocumentDOM().duplicateSelection();
See also
dom.cloneSelection()
dom.duplicateSelectionToFrameRange()
Availability
Fireworks 3.
Usage
dom.duplicateSelectionToFrameRange(
frameIndexFirst
,
frameIndexLast
)
Arguments
frameIndexFirst
and
frameIndexLast
Integer values that specify the range of frames
(inclusive) to which the items should be copied, starting with
0
(although, to specify the current
frame, pass
–1
here).
•
If both arguments are the same, duplicates are placed only on that frame.
•
If the range includes the current frame, duplicates are not placed on that frame.
Returns
Nothing.
Description
Duplicates the selection to a range of frames of the document.
dom.duplicateSelectionToFrames()
Availability
Fireworks 3.
Usage
dom.cuplicateSelectionToFrames(
whichFrames
)
Arguments
whichFrames
Acceptable values are
"all"
,
"previous"
,
"next"
, and
"end"
. Note that
"end"
means the last frame of the document; it does not add a new frame.
Returns
Nothing.
Description
Duplicates the selection to specified frames of the document.
Содержание 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...