public class Tween
Package :
(default package)
Extends :
Description :
Tweens can be used to create interpolations for any object that dispatches the ENTER_FRAME event.
Methods :
public new(object, field, easingFunction, startValue, endValue, duration, removeOnStop)
Creates a new public Tween object.
Parameters :
- object : The object on which the interpolation will be applied.
- field : The object's field to modify
- easingFunction : The easing function to use.
- startValue : The field's start value.
- endValue : The field's end value.
- duration : The tween duration.
- removeOnStop : Remove the object from the stage when the tween is over.
public stop()
Ending the tween.