User Guide

168 Chapter 5: Fireworks JavaScript API
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 11). 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
Hotspots 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 11). For example, passing
({x:1,y:2}) moves the Bézier
points 1 pixel to the right and 2 pixels down.
Returns
Nothing.
Description
If the selection contains at least one path with at least one Bézier point selected, this function
moves all selected Bézier points on all selected paths by the specified amount.