Adobe Extending Flash Professional CS5 Manual do Utilizador Página 251

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 565
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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]);
Vista de página 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 564 565

Comentários a estes Manuais

Sem comentários