User Guide
188 Chapter 5: Fireworks JavaScript API
Arguments
whatToDo
Acceptable values are "expand", "contract", "border", and "smooth".
• Use "expand" to expand the pixel selection outward by the number of pixels that are specified
by
amount.
• Use "contract" to reduce the pixel selection inward by the number of pixels that are specified
by
amount.
• Use "border" to select a band of pixels the width of amount around the edge of the pixel
selection.
• Use "smooth" to smooth out the edge of the pixel selection by amount.
amount An integer specifying the amount by which to adjust. Any integer is acceptable.
Returns
Nothing.
Description
Expands or reduces the pixel selection by the specified number of pixels, selects a border of pixels,
or smooths the edge of the pixel selection.
dom.selectAll()
Availability
Fireworks 3.
Usage
dom.selectAll()
Arguments
None.
Returns
Nothing.
Description
Selects all the items in the current layer and frame. If single layer editing is enabled, all the items
in the current layer are selected; otherwise, all elements on all layers are selected.
dom.selectAllOnLayer()
Availability
Fireworks MX.
Usage
dom.selectAllOnLayer(layerIndex)
Arguments
layerIndex
A long integer that identifies the layer on which to select the element.