document.currentPublishProfile
#### Availability
Flash MX 2004.
#### Usage
document.currentPublishProfile
#### Description
Property; a string that specifies the name of the active publish profile for the specified document.
#### Example
javascript
The following example adds a new publish profile with the default name and then displays the name of the profile in the Output panel:
fl.getDocumentDOM().addNewPublishProfile();
fl.outputPanel.trace(fl.getDocumentDOM().currentPublishProfile);
The following example changes the selected publish profile to "Default":
fl.getDocumentDOM().currentPublishProfile = "Default";