172
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Usage
dom.setSliceType(
slicetype
)
Arguments
slicetype
Specifies the slice type as image (foreground image), background image, or empty (HTML Slice).
Returns
Nothing.
Description
Sets the slice type as image (foreground image), background image, or empty (HTML Slice).
dom.setSliceExportOptions()
Availability
Fireworks 3.
Usage
dom.setSliceExportOptions(
exportOptions
)
Arguments
exportOptions
An ExportOptions object (see “
ExportOptions object
” on page 253).
Returns
Nothing.
Description
Sets the export options for the selected slices.
dom.setSliceFilename()
Availability
Fireworks 3.
Usage
dom.setSliceFilename(
fileURL
)
Arguments
fileURL
A string, which is expressed as a
file://URL
, that specifies the name to be given to the slice.
Returns
Nothing.
Description
If a single slice is selected, this function turns off automatic naming for the slice and sets its filename to the specified URL.