beautypg.com

Document.removedatafromdocument(), Document.removedatafromselection() – Adobe Extending Flash Professional CS4 User Manual

Page 149

background image

127

EXTENDING FLASH CS4 PROFESSIONAL

Document object

fl.getDocumentDOM().removeAllFilters();

See also

document.addFilter()

,

document.changeFilterOrder()

,

document.disableAllFilters()

,

document.getFilters()

,

document.removeFilter()

,

Filter object

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"

:

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

See also

document.addDataToDocument()

,

document.documentHasData()

,

document.getDataFromDocument()

document.removeDataFromSelection()

Availability
Flash MX 2004.

Usage

document.removeDataFromSelection(name)

Parameters

name

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

Returns
Nothing.