Adobe Extending Flash Professional CS5 Instrukcja Użytkownika Strona 452

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 565
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 451
430
EXTENDING FLASH PROFESSIONAL
SymbolItem object
Last updated 5/2/2011
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)
Przeglądanie stron 451
1 2 ... 447 448 449 450 451 452 453 454 455 456 457 ... 564 565

Komentarze do niniejszej Instrukcji

Brak uwag