document.moveSelectedBezierPointsBy()
Availability
Flash MX 2004.
Usage
document.moveSelectedBezierPointsBy( delta )
Parameters
A pair of floating point values that specify the x and y coordinates in pixels by which the
delta
selected Bézier points are moved. For example, passing (
the right by one pixel and down by two pixels from the current location.
Returns
Nothing.
Description
Method; if the selection contains at least one path with at least one Bézier point selected, moves
all selected Bézier points on all selected paths by the specified amount.
Example
The following example moves the selected Bézier points 10 pixels to the right and 5 pixels down:
fl.getDocumentDOM().moveSelectedBezierPointsBy({x:10, y:5});
document.moveSelectionBy()
Availability
Flash MX 2004.
Usage
document.moveSelectionBy( distanceToMove )
Parameters
distanceToMove
which the method moves the selection. For example, passing ({
pixel to the right and two pixels down from the current location.
Returns
Nothing.
Description
Method; moves selected objects by a specified distance.
Note: When using arrow keys to move the item, the History panel combines all presses of the arrow
key as one move step. When the user presses the arrow keys repeatedly, rather than taking multiple
steps in the History panel, the method performs one step, and the arguments are updated to reflect
the repeated arrow keys.
102
Chapter 3: Objects
A pair of floating point values that specify the x and y coordinate values by
) specifies a location that is to
{x:1,y:2}
}) specifies a location one
x:1,y:2
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?