beautypg.com

Document.removefilter(), Document.renamepublishprofile() – Adobe Extending Flash Professional CS4 User Manual

Page 150

background image

128

EXTENDING FLASH CS4 PROFESSIONAL

Document object

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)

Parameters

filterIndex

An integer specifying the zero-based index of the filter to remove from the selected object(s).

Returns
Nothing.

Description
Method; removes the specified filter from the Filters list of the selected object(s).

Example
The following example removes the first filter (index value 0) from the Filters list of the selected object(s):

fl.getDocumentDOM().removeFilter(0);

See also

document.addFilter()

,

document.changeFilterOrder()

,

document.disableFilter()

,

document.getFilters()

,

document.removeAllFilters()

,

Filter object

document.renamePublishProfile()

Availability
Flash MX 2004.

Usage

document.renamePublishProfile([profileNewName])