Flash MX 2004.
document.smoothSelection()
None.
Nothing.
Method; smooths the curve of each selected fill outline or curved line. This method performs the same action as the Smooth button in the Tools panel.
The following example smooths the curve of the current selection:
fl.getDocumentDOM().smoothSelection();