Description
Method; spaces the objects in the selection evenly.
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
expressly set to
:
bUseDcoumentBounds
false
fl.getDocumentDOM().space("horizontal",false);
See also
,
document.getAlignToDocument()
document.setAlignToDocument()
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();
Document object
167
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?