Extending Flash |
|
|
|
| Objects > SymbolItem object > symbolItem.symbolType | |||
Flash MX 2004.
symbolItem.symbolType
Property; a string that specifies the type of symbol. Acceptable values are "movie clip", "button", and "graphic".
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);
|
|
|
|