User Guide
194 Chapter 5: Fireworks JavaScript API
Returns
Nothing.
Description
Sets the number of frames to animate the currently selected animation element.
See also
dom.convertToAnimSymbol()
dom.setAnimInstanceOffsetDist()
Availability
Fireworks 4.
Usage
dom.setAnimInstanceOffsetDist(offsetDistPt)
Arguments
offsetDistPt
A point that specifies the distance the animation moves in pixels. For example,
passing ({
x:100, y:25}) animates the symbol to the right by 100 pixels and down by 25 pixels.
Returns
Nothing.
Description
Sets the distance, in pixels, to animate the currently selected animation element.
See also
dom.convertToAnimSymbol()
dom.setAnimInstanceRotationAmount()
Availability
Fireworks 4.
Usage
dom.setAnimInstanceRotationAmount(rotationAmount)
Arguments
rotationAmount
A floating-point value that specifies the degree of rotation to be applied to the
animation symbol. For example, passing 720 specifies an animation that does two complete
clockwise rotations. To rotate the animation counter-clockwise, pass a negative number.
Returns
Nothing.