Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 455

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 454
1 2 ... 450 451 452 453 454 455 456 457 458 459 460 ... 564 565

Komentáře k této Příručce

Žádné komentáře