beautypg.com

Document.moveselectedbezierpointsby(), Document.moveselectionby() – Adobe Extending Flash Professional CS5 User Manual

Page 143

background image

121

EXTENDING FLASH PROFESSIONAL

Document object

Last updated 5/2/2011

Returns
Nothing.

Description
Method; performs a double mouse click from the Selection tool.

Example
The following example performs a double mouse click at the specified location:

fl.getDocumentDOM().mouseDblClk({x:392.9, y:73}, false, false, true);

See also

document.mouseClick()

document.moveSelectedBezierPointsBy()

Availability
Flash MX 2004.

Usage

document.moveSelectedBezierPointsBy(delta)

Parameters

delta

A pair of floating-point values that specify the x and y coordinates in pixels by which the selected Bézier points

are moved. For example, passing (

{x:1,y:2}

) specifies a location that is to 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.

This manual is related to the following products: