
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
Commentaires sur ces manuels