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

  • 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 146
125
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
Example
The following example publishes the current document:
fl.getDocumentDOM().publish();
document.publishProfiles
Availability
Flash MX 2004.
Usage
document.publishProfiles
Description
Read-only property; an array of the publish profile names for the document.
Example
The following example displays the names of the publish profiles for the document:
var myPubProfiles = fl.getDocumentDOM().publishProfiles;
for (var i=0; i < myPubProfiles.length; i++){
fl.trace(myPubProfiles[i]);
}
document.punch()
Availability
Flash 8.
Usage
document.punch()
Parameters
None.
Returns
A Boolean value: true if successful; false otherwise.
Description
Method; uses the top selected drawing object to punch through all selected drawing objects underneath it. 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 punches through drawing objects underneath the selected drawing object:
fl.getDocumentDOM().punch();
Zobrazit stránku 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 564 565

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

Žádné komentáře