
105
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
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 8).
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 8). 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.
dom.moveSelectionBy()
Availability
Fireworks 3.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...