element.hasPersistentData()

#### Availability

Flash MX 2004.

#### Usage

element.hasPersistentData(name)

#### Parameters

name A string that specifies the name of the data item to test.

#### Returns

A Boolean value: true if the specified data is attached to the object; false otherwise.

#### Description

Method; determines whether the specified data has been attached to the specified element. Only symbols and bitmaps support persistent data.

#### Example

See element.getPersistentData() (../Element_object/element2.md).