|
|
document.deletePublishProfile()
AvailabilityFlash
MX 2004.
Usagedocument.deletePublishProfile()
ReturnsAn
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.
DescriptionMethod;
deletes the currently active profile, if there is more than one.
There must be at least one profile left.
ExampleThe
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());
|