beautypg.com

Document.removedatafromselection(), Document.removefilter() – Adobe Extending Flash Professional CS5 User Manual

Page 149

background image

127

EXTENDING FLASH PROFESSIONAL

Document object

Last updated 5/2/2011

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.

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

Example
The following example removes from the selection the persistent data named

"myData":

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

See also

document.addDataToSelection()

document.removeFilter()

Availability
Flash 8.

Usage

document.removeFilter(filterIndex)

This manual is related to the following products: