User Guide
200 Objects
Example
The following example sets the Instance name of the first element in Frame 1, top layer to
"clip_mc":
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].name =
"clip_mc";
See the element.elementType example.
element.removePersistentData()
Availability
Flash MX 2004.
Usage
element.removePersistentData( name )
Parameters
name A string that specifies the name of the data to remove.
Returns
Nothing.
Description
Method; removes any persistent data with the specified name that has been attached to the
object. Only symbols and bitmaps support persistent data.
Example
See element.getPersistentData().
element.selected
Availability
Flash 8.
Usage
element.selected
Description
Property; a Boolean value that specifies whether the element is selected (true) or not (false).