User Guide

1312 Tween class
Property summary for the Tween class
The following table lists properties of the Tween class.
Event handler summary for the Tween class
The following table lists event handlers of the Tween class.
Tween.resume() Resumes a tweened animation from its stopped point in
the animation.
Tween.rewind() Rewinds a tweened animation to the beginning of the
tweened animation.
Tween.start() Starts the tweened animation from the beginning.
Tween.stop() Stops the tweened animation at its current position.
Tween.toString() Returns the class name, “[Tween]”.
Tween.yoyo() Instructs the tweened animation to play in reverse from its
last direction of tweened property increments.
Property Description
Tween.duration The duration of the tweened animation in frames or seconds.
Read-only.
Tween.finish The last tweened value for the end of the tweened animation.
Read-only.
Tween.FPS The number of frames per second of the tweened animation.
Read-only.
Tween.position The current value of the target movie clip’s property being
tweened. Read-only.
Tween.time The current time within the duration of the animation. Read-
only.
Event Description
Tween.onMotionChanged Event handler; invoked with each change in the tweened
object’s property that is being animated.
Tween.onMotionFinished Event handler; invoked when the Tween object finishes
its animation.
Method Description