Adobe 65011817 - Fireworks CS4 - Mac Extended User Manual page 112

Extending guide
Hide thumbs Also See for 65011817 - Fireworks CS4 - Mac:
Table of Contents

Advertisement

Last updated 12/8/2009
Usage
dom.moveSelectionToLayer(layerIndex, bMakeCopy, {whatIfMultipleSelected}, {elementIndex})
Arguments
An integer value that specifies the layer to which the selection should be moved or copied, starting with
layerIndex
0 (although, to specify the current layer, pass –1 here).
Boolean. If
bMakeCopy
true
whatIfMultipleSelected
. It specifies how to create hotspots if multiple items are selected. Acceptable values are
true
hotspot that has the same bounding rectangle as the selection),
(displays a dialog box to let the user decide). If
"ask user"
is assumed.
user"
A zero-based index, added in Fireworks 4, that specifies the element before which the moved or copied
elementIndex
selection should be inserted. If
elements). Otherwise, it is an index within the existing elements in the layer, where
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
Boolean. If
bMakeCopy
true
Returns
Nothing.
Description
Makes a new layer with a default name, then moves or copies the selection to that new layer.
dom.pageName()
Availability
Fireworks CS3.
, the selection is copied instead of moved.
An optional string that is used only if the destination is a web layer and
is omitted, the selection is placed at the top of the layer (before any other
elementIndex
, the selected items are copied instead of moved.
(creates one hotspot for each item), and
"multiple"
whatIfMultipleSelected
is the topmost, and (
0
EXTENDING FIREWORKS
The Document object
is
bMakeCopy
(creates a single
"single"
is omitted or
,
null
"ask
) is the
n-1
108

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks cs4

Table of Contents