Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 640 Bytes

File metadata and controls

25 lines (15 loc) · 640 Bytes

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

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";