MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 167

Extending flash
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents