Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 763 Bytes

File metadata and controls

32 lines (18 loc) · 763 Bytes

document.deletePublishProfile()

Availability

Flash MX 2004.

Usage

document.deletePublishProfile()

Parameters

None.

Returns

An integer that is the index of the new current profile. If a new profile is not available, the method leaves the current profile unchanged and returns its index.

Description

Method; deletes the currently active profile, if there is more than one. There must be at least one profile left.

Example

The following example deletes the currently active profile, if there is more than one, and displays the index of the new currently active profile:
alert(fl.getDocumentDOM().deletePublishProfile());

See also

document.addNewPublishProfile()