The ‘Tween’ class tweens any property of any object.
com.boostworthy.animation.sequence.tweens.ITween
| Tween | The ‘Tween’ class tweens any property of any object. | 
| Constants | |
| DEFAULT_TRANSITION | The default transition to use for the tween. | 
| Variables | |
| m_objToTween | A reference to the object to be tweened. | 
| m_strProperty | The object’s property that is getting tweened. | 
| m_uFirstFrame | The first frame of the tween. | 
| m_uLastFrame | The last frame of the tween. | 
| m_nStartValue | Holds the starting value for the property being tweened. | 
| m_nTargetValue | Holds the target value for the property being tweened. | 
| m_nChangeValue | Holds the change in value for the property being tweened. | 
| m_strTransition | The name of the transition to be used for the tween. | 
| m_fncTransition | A reference to the transition being used for the tween. | 
| m_bIsDirty | Determines whether or not this tween has changed and needs compared towards it’s target value again. | 
| Functions | |
| Tween | Constructor. | 
| clone | Creates a new tween object that is a clone of this object. | 
| renderFrame | Renders the specified frame. | 
| Properties | |
| firstFrame | Gets the first frame of the timeline that has a keyframe on it. | 
| lastFrame | Gets the last frame of the timeline that has a keyframe on it. | 
| target | Gets a reference to the target object being tweened. | 
| property | Gets a string of the target property. | 
public function Tween( objToTween: Object, strProperty: String, nTargetValue: Number, uFirstFrame: uint, uLastFrame: uint, strTransition: String = DEFAULT_TRANSITION ) 
Constructor.
| param | objToTween The object to be tweened. | 
| param | strProperty The object’s property that is getting tweened. | 
| param | nTargetValue The value the property is getting tweened to. | 
| param | uFirstFrame The first frame of the tween. | 
| param | uLastFrame The last frame of the tween. | 
| param | strTransition The name of the transition to be used for the tween. | 
com.boostworthy.animation.easing.Transitions
The default transition to use for the tween.
protected const DEFAULT_TRANSITION: String 
A reference to the object to be tweened.
protected var m_objToTween: Object 
The object’s property that is getting tweened.
protected var m_strProperty: String 
The first frame of the tween.
protected var m_uFirstFrame: uint 
The last frame of the tween.
protected var m_uLastFrame: uint 
Holds the starting value for the property being tweened.
protected var m_nStartValue: Number 
Holds the target value for the property being tweened.
protected var m_nTargetValue: Number 
Holds the change in value for the property being tweened.
protected var m_nChangeValue: Number 
The name of the transition to be used for the tween.
protected var m_strTransition: String 
A reference to the transition being used for the tween.
protected var m_fncTransition: Function 
Determines whether or not this tween has changed and needs compared towards it’s target value again.
protected var m_bIsDirty: Boolean 
Constructor.
public function Tween( objToTween: Object, strProperty: String, nTargetValue: Number, uFirstFrame: uint, uLastFrame: uint, strTransition: String = DEFAULT_TRANSITION ) 
Creates a new tween object that is a clone of this object.
public function clone():ITween 
Renders the specified frame.
public function renderFrame( uFrame: uint ):void 
Gets the first frame of the timeline that has a keyframe on it.
public function get firstFrame():uint 
Gets the last frame of the timeline that has a keyframe on it.
public function get lastFrame():uint 
Gets a reference to the target object being tweened.
public function get target():Object 
Gets a string of the target property.
public function get property():String