User Guide
Document functions 205
dom.knifeElementsFromPoints()
Availability
Fireworks 3.
Usage
dom.knifeElementsFromPoints(from, to, tolerance)
Arguments
from A point that specifies the x,y coordinates of the point where the user clicked and
started to drag (see “Point data type” on page 12).
to A point that specifies the x,y coordinates of the point where the user ended the
drag operation.
tolerance A floating-point value > = 0 that specifies the tolerance within which items are
cut.
Returns
true if anything is cut; false otherwise.
Description
When the user drags while using the Knife tool, this function cuts additional items within the
specified tolerance. This action is similar to using the Knife tool with a drag operation.
See also
dom.knifeElementsFromPoint()
dom.linkElementMask()
Availability
Fireworks 4.
Usage
dom.linkElementMask(frame, layer, element, bLink)
Arguments
frame An integer value that specifies the frame that contains the element, starting with 0
(although, to specify the current frame, pass
–1 here).
layer An integer value that specifies the layer that contains the element, starting with 0
(although, to specify the current layer, pass
–1 here).