Element.name; Element.removepersistentdata(); Element.setpersistentdata() - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

element.name

Availability
Flash MX 2004.
Usage
element.name
Description
Property; a string that specifies the name of the element, normally referred to as the Instance
name. If the value of
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

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.setPersistentData()

Availability
Flash MX 2004.
Usage
element.setPersistentData( name, type, value )
154
Chapter 3: Objects
element.elementType
example.
.
is
, this property is ignored.
"shape"

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents