158
Chapter 5: Fireworks JavaScript API
Description
E
xtracts the component elements from the selected symbol and places copies of those elements in
the document.
This function is similar to the
dom.importSymbol
API.
dom.importSymbol
places an instance of
a symbol in your document—for example, when you select Edit > Libraries > Buttons, and
dom.importSymbolButNotAsAlias
extracts the component elements from the selected symbol
and places copies of those elements in the document.
dom.importSymbolButNotAsAlias
does
not place in an instance in the document.
dom.inLaunchAndEdit()
Availability
Fireworks MX.
Usage
dom.inLaunchAndEdit()
Arguments
None.
Returns
A Boolean value:
true
if opened by a launch-and-edit operation;
false
otherwise.
Description
Specifies whether document was opened by a launch-and-edit operation.
dom.insertPointInPath()
Availability
Fireworks 3.
Usage
dom.insertPointInPath(
contourIndex
,
ptToInsertBefore
,
tParameter
,
controlPointFirst
,
mainPoint
,
controlPointLast
)
Arguments
contourIndex
A zero-based index that specifies the contour into which the Bézier point is
inserted. For paths with multiple contours, the contours are in an arbitrary order.
ptToInsertBefore
A zero-based index that specifies where the new point should be placed
on the path. The new point is appended in front of the point that this integer represents: To
add a point to the beginning of the path, pass
0
; to add a point to the end of the path, pass a
large number.
tParameter
A floating-point value between 0 and 1 that specifies where to insert the new point
in the Bézier segment.
controlPointFirst
,
mainPoint
, and
controlPointLast
Points that specify the
x,y
coordinates of the preceding control point, the main point, and the following control point of the
new point (see
“Point data type” on page 11
).
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...