Adobe Extending Flash Professional CS5 Manuale Utente Pagina 251

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 250
229
EXTENDING FLASH PROFESSIONAL
flash object (fl)
Last updated 5/2/2011
Example
The following example displays the types of documents that can be created, in the Output panel:
fl.trace("Number of choices " + fl.createNewDocList.length);
for (i = 0; i < fl.createNewDocList.length; i++)
fl.trace("choice: " + fl.createNewDocList[i]);
fl.createNewDocListType
Availability
Flash MX 2004.
Usage
fl.createNewDocListType
Description
Read-only property; an array of strings that represent the file extensions of the types of documents that can be created.
The entries in the array correspond directly (by index) to the entries in the
fl.createNewDocList array.
Example
The following example displays the extensions of the types of documents that can be created, in the Output panel:
fl.trace("Number of types " + fl.createNewDocListType.length);
for (i = 0; i < fl.createNewDocListType.length; i++) fl.trace("type: " +
fl.createNewDocListType[i]);
fl.createNewTemplateList
Availability
Flash MX 2004.
Usage
fl.createNewTemplateList
Description
Read-only property; an array of strings that represent the various types of templates that can be created.
Example
The following example displays the types of templates that can be created, in the Output panel:
fl.trace("Number of template types: " + fl.createNewTemplateList.length); for (i = 0; i <
fl.createNewTemplateList.length; i++) fl.trace("type: " + fl.createNewTemplateList[i]);
Vedere la pagina 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 564 565

Commenti su questo manuale

Nessun commento