User Guide

314 Fireworks JavaScript API
fw.exportDirectorAsLayers()
Availability
Fireworks MX.
Usage
fw.exportDirectorAsLayers(document, fileURL)
Arguments
document A Document object—for example fw.documents[2]—that specifies the
document to export. If
document is null, the active document is exported.
fileURL Specifies the filename for the exported file. If fileURL is null, Fireworks displays
the Export dialog box.
Returns
A Boolean value: true if successful; false otherwise.
Description
Exports the specified document to the specified file as layers to be imported into
Macromedia Director.
fw.exportDirectorAsSlices()
Availability
Fireworks MX.
Usage
fw.exportDirectorAsSlices(document, fileURL)
Arguments
document A Document object, for example, fw.documents[2], that specifies the
document to export. If
document is null, the active document is exported.
fileURL Specifies the filename for the exported file. If fileURL is null, Fireworks displays
the Export dialog box.
Returns
A Boolean value: true if successful; false otherwise.
Description
Exports the specified document to the specified file as Macromedia Director images.