Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 251

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 250
229
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
Usage
fl.createNewDocList
Description
Read-only property; an array of strings that represent the various types of documents that can be created.
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:
Zobrazit stránku 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 559 560

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

Žádné komentáře