Adobe Extending Flash Professional CS5 Instrukcja Użytkownika Strona 455

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 565
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 454
433
EXTENDING FLASH PROFESSIONAL
SymbolItem object
Last updated 5/2/2011
symbolItem.sourceLibraryName
Availability
Flash MX 2004.
Usage
symbolItem.sourceLibraryName
Description
Property; a string that specifies the name of the item in the source file library. It is used for shared library symbols.
Example
The following example shows the value of the sourceLibraryName property in the Output panel:
fl.trace(fl.getDocumentDOM().library.items[0].sourceLibraryName);
symbolItem.symbolType
Availability
Flash MX 2004.
Usage
symbolItem.symbolType
Description
Property; a string that specifies the type of symbol. Acceptable values are "movie clip", "button", and "graphic".
Example
The following example shows the current value of the symbolType property, changes it to button, and shows it again:
alert(fl.getDocumentDOM().library.items[0].symbolType);
fl.getDocumentDOM().library.items[0].symbolType = "button";
alert(fl.getDocumentDOM().library.items[0].symbolType);
symbolItem.timeline
Availability
Flash MX 2004.
Usage
symbolItem.timeline
Przeglądanie stron 454
1 2 ... 450 451 452 453 454 455 456 457 458 459 460 ... 564 565

Komentarze do niniejszej Instrukcji

Brak uwag