Adobe Extending Flash Professional CS5 Manual de usuario Pagina 147

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 565
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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();
Vista de pagina 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 564 565

Comentarios a estos manuales

Sin comentarios