User Guide
Document functions 275
Description
Sets the Hotspot text to the specified value for the Hotspots and slices in the selection.
Example
The following command creates a slice and inserts the HTML text, "I am HTML text":
fw.getDocumentDOM().setHotspotText("Slice ","I am HTML text", null, true);
dom.setLayerDisclosure()
Availability
Fireworks 4.
Usage
dom.setLayerDisclosure(layerIndex, bDisclosed)
Arguments
layerIndex An integer value that specifies the layer that contains the elements to be
displayed or hidden, starting with 0 (although, to specify the current layer, pass –1 here).
bDisclosed If bDisclosed is true, all elements on the specified layer are displayed in the
Layers list. If
bDisclosed is false, only the layer name appears on the list.
Returns
Nothing.
Description
Specifies whether the elements on a specified layer appear in the Layers list. Disclosure affects
the layer, regardless of which frame appears.
See also
dom.setAllLayersDisclosure()
dom.setLayerLocked()
Availability
Fireworks 3.
Usage
dom.setLayerLocked(layerIndex, frameIndex, bLock, bAllLayers)