
206
EXTENDING FIREWORKS
The Fireworks Object
Las
t
up
d
a
ted
12/8/2009
fw.exportPDF()
Availability
Fireworks 10.
Usage
fw.exportPDF(
doc, pdfURL
)
Arguments
doc
Document object (for example,
fw.documents[2]
) that specifies the documentto be exported. To export frames
from the current document, pass null.
pdfURL
Specifies the filename for the exported file. If
pdfURL
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 in PDF format.
fw.exportPSD()
Availability
Fireworks 4.
Usage
fw.exportPSD(
docObject, PSDDocumentURL
)
Arguments
docObject
A Document object that specifies the document to export (see “
The Document object
” on page 27). To
export the current document, pass
null
.
PSDDocumentURL
The name of the Photoshop document to be created, which is expressed as a file://URL.
Returns
A Boolean value:
true
if successful;
false
otherwise.
Description
Exports a Fireworks document as a Photoshop document.
Example
The Photoshop writer is controlled by the values of several preferences. See the following example for allowed values.
A well-behaved script should restore the original values after exporting the file.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...