MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 200

Extending flash
Table of Contents

Advertisement

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
example.
element.elementType
element.removePersistentData()
Availability
Flash MX 2004.
Usage
element.removePersistentData( name )
Parameters
A string that specifies the name of the data to remove.
name
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 (
) or not (
).
true
false
200
Objects

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents