Extending Flash |
|
|
|
| Objects > Document object > document.currentPublishProfile | |||
Flash MX 2004.
document.currentPublishProfile
Property; a string that specifies the name of the active publish profile for the specified document.
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";
|
|
|
|