132
Chapter 5: Fireworks JavaScript API
dom.convertAnimSymbolToGraphicSymbol()
Availability
Fireworks 4.
Usage
dom.converAnimSymbolToGraphicSymbol()
Arguments
None.
Returns
Nothing.
Description
If a single animation symbol is selected, this function converts it from an animation symbol to a
graphics symbol.
See also
dom.convertToAnimSymbol()
,
dom.convertToSymbol()
dom.convertToAnimSymbol()
Availability
Fireworks 4.
Usage
dom.convetToAnimSymbol(
name
,
numFrames
,
offsetDistPt
,
rotationAmount
,
scaleAmount
,
startOpacity
,
endOpacity
)
Arguments
name
A string that specifies a name for the new animation symbol.
numFrames
An integer that specifies the number of frames through which the symbol animates.
offsetDistPt
A point that specifies the distance the animation will move in pixels (see
“Point
data type” on page 11
). For example, passing ({
x
:
100
,
y
:
25
}) animates the symbol to the right 100
pixels and down 25 pixels.
rotationAmount
A floating-point value that specifies the degrees of rotation to be applied to
the animation symbol. For example, passing a value of
720
specifies an animation that does two
complete clockwise rotations. To rotate the animation counter-clockwise, pass a negative number.
scaleAmount
A positive floating-point value that specifies the amount of scaling to be applied
to the animation symbol. For example, passing a value of
50
scales the symbol to 50% of its
current size, and passing
200
scales it to twice its current size. To specify no scaling, pass
100
.
startOpacity
and
endOpacity
Float values between 0 and 100 that specify the starting and
ending opacity for the animation symbol.
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...