|
|
document.duplicatePublishProfile()
AvailabilityFlash
MX 2004.
Usagedocument.duplicatePublishProfile([profileName])
Parameters- profileName
- A string that specifies the unique name of the duplicated
profile. If you do not specify a name, the method uses the default
name. This parameter is optional.
ReturnsAn
integer that is the index of the new profile in the profile list.
Returns -1 if the profile cannot be duplicated.
DescriptionMethod;
duplicates the currently active profile and gives the duplicate version
focus.
ExampleThe
following example duplicates the currently active profile and displays the
index of the new profile in the Output panel:
fl.trace(fl.getDocumentDOM().duplicatePublishProfile("dup profile"));
|