fw.exportLayers()
Availability
Fireworks 4.
Usage
fw.exportLayers(docObject, directoryURL)
Arguments
A Document object that specifies the document that contains the layers to
docObject
export (see
"Document object" on page
.
null
The directory in which the images will be placed, which is expressed as a
directoryURL
file://URL.
Returns
A Boolean value:
true
Description
Exports a document's layers as individual images. The image names are based on the names in
the Layers panel. The layers from the current frame are exported.
Example
The following command exports the layers in the third open document to the
C:\images directory.
fw.exportLayers(fw.documents[2], "file:///C|/images");
fw.exportPSD()
Availability
Fireworks 4.
Usage
fw.exportPSD(docObject, PSDDocumentURL)
Arguments
A Document object that specifies the document to export (see
docObject
object" on page
14). To export the current document, pass
The name of the Photoshop document to be created, which is expressed
PSDDocumentURL
as a file://URL.
318
Fireworks JavaScript API
14). To export layers from the current document, pass
if successful;
otherwise.
false
"Document
.
null
Need help?
Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers