Fireworks functions
315
fw.exportDocumentAs()
Availability
Fireworks 3.
Usage
fw.exportDocumentAs(
document
,
fileURL
,
exportOptions
)
Arguments
document
A Document object, for example,
fw.documents[2]
, that specifies the
document to be exported. If
document
is
null
, the active document is exported.
fileURL
A string, which is expressed as a file://URL, that specifies the filename for the
exported file. If
fileURL
is
null
, the Save As dialog box is displayed.
exportOptions
An ExportOptions object (see
“ExportOptions object” on page 58
). If
exportOptions
is
null
, the document’s current export options are used. If the file format
specified by
exportOptions
conflicts with the file format specified by
fileURL
, then the
extension of
fileURL
is changed to match the format specified by
exportOptions
.
Returns
A Boolean value:
true
if successful;
false
otherwise.
Description
Exports the specified document to the specified file.
See also
fw.exportHtmlAndImages()
fw.exportFrames()
Availability
Fireworks 4.
Usage
fw.exportFrames(
docObject
,
directoryURL
)
Содержание FIREWORKS 8-EXTENDING FIREWORKS
Страница 1: ...Extending Fireworks ...
Страница 4: ...4 Contents ...
Страница 358: ...358 Fireworks JavaScript API ...
Страница 372: ...372 Index ...