Adobe Extending Flash Professional CS5 Manuale Utente Pagina 147

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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();
Vedere la pagina 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 564 565

Commenti su questo manuale

Nessun commento