Adobe Extending Flash Professional CS5 Manuel d'utilisateur Page 251

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 565
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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]);
Vue de la page 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 564 565

Commentaires sur ces manuels

Pas de commentaire