180
Fireworks JavaScript API
where
Acceptable values are
"beginning"
,
"before current"
,
"after
current"
, and
"end"
.
bDupeSelectionOnly
If
bDupeSelectionOnly
is
true
, only items in the specified frame
that are selected are duplicated to the new frame.
Returns
Nothing.
Description
Duplicates a frame.
Example
The following command makes one copy of the current frame and places the new frame after
the current frame:
fw.getDocumentDOM().duplicateFrame(-1, 1, "after current", false);
dom.duplicateLayer()
Availability
Fireworks 3.
Usage
dom.duplicateLayer(
layerIndex
, {
howMany
}, {
where
})
Arguments}
layerIndex
An integer value that specifies the layer to duplicate, starting with
0
(although,
to specify the current layer, pass
–1
here).
howMany
An optional integer that specifies how many times to duplicate the layer. If
omitted, the layer is duplicated once.
where
An optional argument that specifies where to put the new layer(s) in relation to the
source layer. Acceptable values are
"beginning", "before current", "after current",
and
"end"
. If omitted,
"before current"
is assumed.
Returns
Nothing.
Содержание FIREWORKS 8-EXTENDING FIREWORKS
Страница 1: ...Extending Fireworks ...
Страница 4: ...4 Contents ...
Страница 358: ...358 Fireworks JavaScript API ...
Страница 372: ...372 Index ...