Returns
Nothing.
Description
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.
Example
The following example smooths the curve of the current selection:
fl.getDocumentDOM().smoothSelection();
document.space()
Availability
Flash MX 2004.
Usage
document.space( direction [, bUseDocumentBounds] )
Parameters
A string that specifies the direction in which to space the objects in the selection.
direction
Valid values for direction are
bUseDocumentBounds
document bounds. Otherwise, the method uses the bounds of the selected objects. The default is
. This parameter is optional.
false
Returns
Nothing.
Description
Method; spaces the objects in the selection evenly. See
document.getAlignToDocument()
Example
The following example spaces the objects horizontally, relative to the Stage:
fl.getDocumentDOM().space("horizontal",true);
The following example spaces the objects horizontally, relative to each other:
fl.getDocumentDOM().space("horizontal");
The following example spaces the objects horizontally, relative to each other, with
bUseDcoumentBounds
fl.getDocumentDOM().space("horizontal",false);
128
Chapter 3: Objects
or
"horizontal"
A Boolean value that, when set to
.
expressly set to
:
false
"vertical".
spaces the objects to the
true,
document.setAlignToDocument()
and
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?