Document functions
213
dom.movePointOnHotspotByWithFlags()
Availability
Fireworks MX.
Usage
dom.MovePointOnHotspotByWithFlags(
ptToModifyIndex
,
delta
,
flags
)
Arguments
ptToModifyIndex
A zero-based index that specifies which point on the path is to move.
delta
A point that specifies the
x-,y
-coordinate values by which the point is moved (see
“Point data type” on page 12
). For example, passing
({
x
:
1
,
y
:
2})
moves the point 1 pixel to
the right and 2 pixels down.
flags
A Boolean value that determines whether this slice or Hotspot will be duplicated.
This argument is important for giving slices a unique name so their behaviors remain
unaffected.
Returns
Nothing.
Description
If the selection is a Hotspot or slice of the polyline variety, this function moves a point on the
Hotspot’s path by the specified amount.
dom.moveSelectedBezierPointsBy()
Availability
Fireworks 3.
Usage
dom.moveSelectedBezierPointsBy(
delta
)
Arguments
delta
A point that specifies the
x,y
coordinate values by which the selected Bézier points are
moved (see
“Point data type” on page 12
). For example, passing
({
x
:
1
,
y
:
2})
moves the Bézier
points 1 pixel to the right and 2 pixels down.
Returns
Nothing.
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...