Adobe Extending Flash Professional CS4 User Manual Page 185

  • Download
  • Add to my manuals
  • Print
  • Page
    / 560
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 184
163
EXTENDING FLASH CS4 PROFESSIONAL
Document object
The following example spaces the objects horizontally, relative to each other, with bUseDcoumentBounds expressly set
to
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.swapElement()
Availability
Flash MX 2004.
Usage
document.swapElement(name)
Parameters
name A string that specifies the name of the library item to use.
Returns
Nothing.
Page view 184
1 2 ... 180 181 182 183 184 185 186 187 188 189 190 ... 559 560

Comments to this Manuals

No comments