Adobe Extending Flash Professional CS4 Manual do Utilizador Página 453

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 452
431
EXTENDING FLASH CS4 PROFESSIONAL
SymbolItem object
Returns
Nothing.
Description
Method; converts a symbol item in the library to a compiled movie clip.
Example
The following example converts an item in the library to a compiled movie clip:
fl.getDocumentDOM().library.items[3].convertToCompiledClip();
symbolItem.exportSWC()
Availability
Flash MX 2004.
Usage
symbolItem.exportSWC(outputURI)
Parameters
outputURI A string, expressed as a file:/// URI, that specifies the SWC file to which the method will export the symbol.
The outputURI must reference a local file. Flash does not create a folder if outputURI does not exist.
Returns
Nothing.
Description
Method; exports the symbol item to a SWC file.
Example
The following example exports an item in the library to the SWC file named mySymbol.swc in the tests folder:
fl.getDocumentDOM.library.selectItem("mySymbol");
var currentSelection = fl.getDocumentDOM().library.getSelectedItems();
currentSelection[0].exportSWC("file:///Macintosh HD/SWCDirectory/mySymbol.swc");
symbolItem.exportSWF()
Availability
Flash MX 2004.
Usage
symbolItem.exportSWF(outputURI)
Vista de página 452
1 2 ... 448 449 450 451 452 453 454 455 456 457 458 ... 559 560

Comentários a estes Manuais

Sem comentários