Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 455 Bytes

File metadata and controls

29 lines (16 loc) · 455 Bytes

document.straightenSelection()

Availability

Flash MX 2004.

Usage

document.straightenSelection()

Parameters

None.

Returns

Nothing.

Description

Method; straightens the currently selected strokes. This method is equivalent to using the Straighten button in the Tools panel.

Example

The following example straightens the curve of the current selection:
fl.getDocumentDOM().straightenSelection();