beautypg.com

Document.renamepublishprofile(), Document.renamescene() – Adobe Extending Flash Professional CS5 User Manual

Page 150

background image

128

EXTENDING FLASH PROFESSIONAL

Document object

Last updated 5/2/2011

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])

Parameters

profileNewName

An optional parameter that specifies the new name for the profile. The new name must be unique.

If the name is not specified, a default name is provided.

Returns
A Boolean value:

true

if the name is changed successfully;

false

otherwise.

Description
Method; renames the current profile.

Example
The following example renames the current profile to a default name and displays it:

alert(fl.getDocumentDOM().renamePublishProfile());

document.renameScene()

Availability
Flash MX 2004.

This manual is related to the following products: