
107
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Usage
dom.moveSelectionTo(
location, bMakeCopy, doSubSel
)
Arguments
location
A point that specifies the
x-,y
-coordinate values of the location to which the selection is moved or copied
(see “
Point data type
” on page 8).
bMakeCopy
Specifies copying instead of moving the selection.
doSubSel
If
doSubSel
is set to
true
, the function moves only the subselected parts of a path. If the argument is set to
false
, the function moves the whole object.
Returns
Nothing.
Description
Moves or copies the selection to the specified location.
Example
The following command copies only the selected parts of a path to the specified coordinates:
fw.getDocumentDOM().moveSelectionTo({x:163, y:0}, true, true);
dom.moveSelectionToFrame()
Availability
Fireworks 3.
Usage
dom.moveSelectionToFrame(
frameIndex, bMakeCopy
)
Arguments
frameIndex
An integer value that specifies the frame to which the selection is moved or copied, starting with 0
(although, to specify the current frame, pass –
1
here).
bMakeCopy
If
bMakeCopy
is
true
, the selection is copied instead of moved.
Returns
Nothing.
Description
Moves or copies the selection to the specified frame.
dom.moveSelectionToLayer()
Availability
Fireworks 3, updated in Fireworks 4.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...