Adobe Extending Flash Professional CS4 Manuel d'utilisateur Page 453

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 560
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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)
Vue de la page 452
1 2 ... 448 449 450 451 452 453 454 455 456 457 458 ... 559 560

Commentaires sur ces manuels

Pas de commentaire