Document functions
217
elementIndex
A zero-based index, added in Fireworks 4, that specifies the element before
which the moved or copied selection should be inserted. If
elementIndex
is omitted, the
selection is placed at the top of the layer (before any other elements). Otherwise, it is an index
within the existing elements in the layer, where
0
is the topmost, and (
n-1
) is the last element
(for a layer with
n
elements). The maximum value is the number of elements previously in the
layer—meaning that the elements are moved to the bottom of the specified layer.
Returns
Nothing.
Description
Moves or copies the selection to the specified layer.
dom.moveSelectionToNewLayer()
Availability
Fireworks 3.
Usage
dom.moveSelectionToNewLayer(
bMakeCopy
)
Arguments
bMakeCopy
If
bMakeCopy
is
true
, the selected items are copied instead of moved.
Returns
Nothing.
Description
Makes a new layer with a default name, then moves or copies the selection to that new layer.
dom.pathCrop()
Availability
Fireworks 3.
Usage
dom.pathCrop()
Arguments
None.
Содержание FIREWORKS 8-EXTENDING FIREWORKS
Страница 1: ...Extending Fireworks ...
Страница 4: ...4 Contents ...
Страница 358: ...358 Fireworks JavaScript API ...
Страница 372: ...372 Index ...