
81
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Description
Replaces the values in
dom.exportOptions.paletteEntries
with those in the specified GIF or ACT file. This
function also sets
dom.exportOptions.paletteMode
to
"custom"
. For more information, see “
ExportOptions
object
” on page 253.
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 253.
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 253). 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.
Description
Exports the document as specified.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...