Document functions
161
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 11
).
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).
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.
Summary of Contents for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
Page 1: ...Extending Fireworks...
Page 4: ...4 Contents...
Page 8: ...8 Chapter 1 Extending Fireworks Overview...
Page 102: ...102 Chapter 4 Auto Shapes...