User Guide
106 Objects
document.exportPublishProfile()
Availability
Flash MX 2004.
Usage
document.exportPublishProfile( fileURI )
Parameters
fileURI A string, expressed as a file:/// URI, that specifies the path of the XML file to
which the profile is exported.
Returns
Nothing.
Description
Method; exports the currently active profile to an XML file.
Example
The following example exports the currently active profile to the file named profile.xml in the
folder /Documents and Settings/username/Desktop on the C drive:
fl.getDocumentDOM().exportPublishProfile('file:///C|/Documents and
Settings/username/Desktop/profile.xml');
document.exportSWF()
Availability
Flash MX 2004.
Usage
document.exportSWF( [ fileURI [, bCurrentSettings ] ] )
Parameters
fileURI A string, expressed as a file:/// URI, that specifies the name of the exported file. If
fileURI is empty or not specified, Flash displays the Export Movie dialog box. This
parameter is optional.
bCurrentSettings A Boolean value that, when set to true, causes Flash to use current
SWF publish settings. Otherwise, Flash displays the Export Flash Player dialog box. The
default is
false. This parameter is optional.