Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 456

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

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

Žádné komentáře