MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 75

Extending flash
Table of Contents

Advertisement

document.addNewPublishProfile()
Availability
Flash MX 2004.
Usage
document.addNewPublishProfile( [profileName ] )
Parameters
The unique name of the new profile. If you do not specify a name, a default
profileName
name is provided. This parameter is optional.
Returns
An integer that is the index of the new profile in the profiles list. Returns -1 if a new profile
cannot be created.
Description
Method; adds a new publish profile and makes it the current one.
Example
The following example adds a new publish profile with a 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 adds a new publish profile with the name "
:
my profile"
fl.getDocumentDOM().addNewPublishProfile("my profile");
See also
document.deletePublishProfile()
document.addNewRectangle()
Availability
Flash MX 2004.
Usage
document.addNewRectangle( boundingRectangle, roundness
[, bSuppressFill [, bSuppressStroke ] ] )
Document object
75

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents