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
javascript
The following example straightens the curve of the current selection:
fl.getDocumentDOM().straightenSelection();