Package | com.boostworthy.animation.sequence.tweens |
Class | public class Tween |
Implements | ITween |
See also
Property | Defined by | ||
---|---|---|---|
firstFrame : uint [read-only]
Gets the first frame of the timeline that has a keyframe on it.
| Tween | ||
lastFrame : uint [read-only]
Gets the last frame of the timeline that has a keyframe on it.
| Tween | ||
property : String [read-only]
Gets a string of the target property.
| Tween | ||
target : Object [read-only]
Gets a reference to the target object being tweened.
| Tween |
Property | Defined by | ||
---|---|---|---|
m_bIsDirty : Boolean
Determines whether or not this tween has changed and needs compared
towards it's target value again.
| Tween | ||
m_fncTransition : Function
A reference to the transition being used for the tween.
| Tween | ||
m_nChangeValue : Number
Holds the change in value for the property being tweened.
| Tween | ||
m_nStartValue : Number
Holds the starting value for the property being tweened.
| Tween | ||
m_nTargetValue : Number
Holds the target value for the property being tweened.
| Tween | ||
m_objToTween : Object
A reference to the object to be tweened.
| Tween | ||
m_strProperty : String
The object's property that is getting tweened.
| Tween | ||
m_strTransition : String
The name of the transition to be used for the tween.
| Tween | ||
m_uFirstFrame : uint
The first frame of the tween.
| Tween | ||
m_uLastFrame : uint
The last frame of the tween.
| Tween |
Method | Defined by | ||
---|---|---|---|
Tween(objToTween:Object, strProperty:String, nTargetValue:Number, uFirstFrame:uint, uLastFrame:uint, strTransition:String)
Constructor.
| Tween | ||
Creates a new tween object that is a clone of this object.
| Tween | ||
renderFrame(uFrame:uint):void
Renders the specified frame.
| Tween |
Constant | Defined by | ||
---|---|---|---|
DEFAULT_TRANSITION : String = "linear"
The default transition to use for the tween.
| Tween |
firstFrame | property |
firstFrame:uint
[read-only]Gets the first frame of the timeline that has a keyframe on it.
Implementation public function get firstFrame():uint
lastFrame | property |
lastFrame:uint
[read-only]Gets the last frame of the timeline that has a keyframe on it.
Implementation public function get lastFrame():uint
m_bIsDirty | property |
protected var m_bIsDirty:Boolean
Determines whether or not this tween has changed and needs compared towards it's target value again.
m_fncTransition | property |
protected var m_fncTransition:Function
A reference to the transition being used for the tween.
m_nChangeValue | property |
protected var m_nChangeValue:Number
Holds the change in value for the property being tweened.
m_nStartValue | property |
protected var m_nStartValue:Number
Holds the starting value for the property being tweened.
m_nTargetValue | property |
protected var m_nTargetValue:Number
Holds the target value for the property being tweened.
m_objToTween | property |
protected var m_objToTween:Object
A reference to the object to be tweened.
m_strProperty | property |
protected var m_strProperty:String
The object's property that is getting tweened.
m_strTransition | property |
protected var m_strTransition:String
The name of the transition to be used for the tween.
m_uFirstFrame | property |
protected var m_uFirstFrame:uint
The first frame of the tween.
m_uLastFrame | property |
protected var m_uLastFrame:uint
The last frame of the tween.
property | property |
property:String
[read-only]Gets a string of the target property.
Implementation public function get property():String
target | property |
target:Object
[read-only]Gets a reference to the target object being tweened.
Implementation public function get target():Object
Tween | () | constructor |
public function Tween(objToTween:Object, strProperty:String, nTargetValue:Number, uFirstFrame:uint, uLastFrame:uint, strTransition:String)
Constructor.
ParametersobjToTween:Object — The object to be tweened.
|
|
strProperty:String — The object's property that is getting tweened.
|
|
nTargetValue:Number — The value the property is getting tweened to.
|
|
uFirstFrame:uint — The first frame of the tween.
|
|
uLastFrame:uint — The last frame of the tween.
|
|
strTransition:String — The name of the transition to be used for the tween.
|
See also
clone | () | method |
public function clone():ITween
Creates a new tween object that is a clone of this object.
ReturnsITween —
A new tween object.
|
renderFrame | () | method |
public function renderFrame(uFrame:uint):void
Renders the specified frame.
ParametersuFrame:uint — The frame to render.
|
DEFAULT_TRANSITION | constant |
protected const DEFAULT_TRANSITION:String = "linear"
The default transition to use for the tween.