User Guide

244 Fireworks JavaScript API
Example
The following example opens a new e-mail in the default e-mail program and attaches the file
foo.png to the message:
fw.getDocumentDOM().sendEmail("file:///Users/andy/Documents/foo.png");
dom.setAllLayersDisclosure()
Availability
Fireworks 4.
Usage
dom.setAllLayersDisclosure(bDisclosed)
Arguments
bDisclosed If bDisclosed is true, all the elements on all layers appear in the Layers list. If
false, only layer names appear on the list.
Returns
Nothing.
Description
Specifies whether all the elements in all layers appear in the Layers list.
See also
dom.setLayerDisclosure()
dom.setAnimInstanceLoopCount()
Availability
Fireworks 3, deprecated in 4 in favor of dom.setAnimInstanceNumFrames().
Usage
dom.setAnimInstanceLoopCount(loopCount)
Arguments
loopCount An integer that corresponds to the loop count value that appears in the Objects
panel when a multiframe image instance is selected.