User Guide

206 Fireworks JavaScript API
element An integer value that specifies the element, starting with 0 (although, to specify
the current element, pass
–1 here).
bLink If bLink is true, the element masks are linked to their elements; if false, they are
unlinked from their elements.
Returns
Nothing.
Description
Links or unlinks the element mask on the selected element. If more than one element (or no
elements) are selected when this function is called, Fireworks throws an exception. An
exception is also thrown if the element has no element mask.
dom.lockSelection()
Availability
Fireworks 8.
Usage
dom.lockSelection()
Arguments
None.
Returns
Nothing.
Description
Locks the selection.
dom.makeFind()
Availability
Fireworks 3.
Usage
dom.MakeFind(findSpec)
Arguments
findSpec A Find object (see “Find object” on page 23).