|
|
document.exportSWF()
AvailabilityFlash
MX 2004.
Usagedocument.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.
DescriptionMethod;
exports the document in the Flash SWF format.
ExampleThe
following example exports the document to the specified file location with
the current publish settings:
fl.getDocumentDOM().exportSWF("file:///C|/Documents and Settings/joe_user/Desktop/qwerty.swf");
The
following example displays the Export Movie dialog box and the Export Flash
Player dialog box and then exports the document based on the specified settings:
fl.getDocumentDOM().exportSWF("", true);
The
following example displays the Export Movie dialog box and then exports
the document based on the specified settings:
fl.getDocumentDOM().exportSWF();
|