User Guide
188 Fireworks JavaScript API
dom.exportOptions.saveColorPalette()
Availability
Fireworks 3.
Usage
dom.exportOptions.saveColorPalette(fileURL)
Arguments
fileURL A string, which is expressed as a file://URL, that specifies the name of the file to
which the color panel should be saved. Do not specify a file extension; the .act extension is
added automatically.
Returns
Nothing.
Description
Saves the values in dom.exportOptions.paletteEntries to the specified color panel (ACT
file). This function does not modify the document. For more information, see
“ExportOptions object” on page 58.
dom.exportTo()
Availability
Fireworks 3.
Usage
dom.exportTo(fileURL, {exportOptions})
Arguments
fileURL A string, which is expressed as a file://URL, that specifies the name of the
exported file.
exportOptions An ExportOptions object (see “ExportOptions object” on page 58). This
argument is optional. If this argument is omitted or
null, the document’s current Export
Options settings are used. If values are passed in with
exportOptions, they are used for
this export operation only; they do not change the document’s
exportOptions property.
Returns
true if the file is successfully exported; false otherwise.