document.removeDataFromDocument()

#### Availability

Flash MX 2004.

#### Usage

document.removeDataFromDocument(name)

#### Parameters

name A string that specifies the name of the data to remove.

#### Returns

Nothing.

#### Description

Method; removes persistent data with the specified name that has been attached to the document.

#### Example

The following example removes from the document the persistent data named "myData":

javascript
fl.getDocumentDOM().removeDataFromDocument("myData");


#### See also

document.addDataToDocument() (../Document_object/documen1.md), document.documentHasData() (../Document_object/docume53.md), document.getDataFromDocument() (../Document_object/docume76.md)