Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 139

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 138
117
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
Returns
A Boolean value: true if successful; false otherwise.
Description
Method; creates an intersection drawing object from all selected drawing objects. This method returns false if there
are no drawing objects selected, or if any of the selected items are not drawing objects.
Example
The following example creates an intersection drawing object from all selected drawing objects:
fl.getDocumentDOM().intersect();
See also
document.crop(), document.deleteEnvelope(), document.punch(), document.union(),
shape.isDrawingObject
document.library
Availability
Flash MX 2004.
Usage
document.library
Description
Read-only property; the library object for a document.
Example
The following example gets the library for the currently focused document:
var myCurrentLib = fl.getDocumentDOM().library;
Assuming the currently focused document is not fl.documents[1], the following example gets the library for a
nonfocused library or for a library you opened using File > Open as external library:
var externalLib = fl.documents[1].library;
document.libraryPath
Availability
Flash CS4 Professional.
Usage
document.libraryPath
Zobrazit stránku 138
1 2 ... 134 135 136 137 138 139 140 141 142 143 144 ... 564 565

Komentáře k této Příručce

Žádné komentáře