FunctionsAnimation |
The ‘FunctionsAnimation’ class animates any value that is accessed through get and set functions instead of getter/setters.
com.boostworthy.animation.management.types.abstract.Animation, com.boostworthy.animation.management.types.abstract.IAnimation
FunctionsAnimation | The ‘FunctionsAnimation’ class animates any value that is accessed through get and set functions instead of getter/setters. |
Variables | |
m_fncSet | Holds a reference to the target object’s set function. |
m_nStartValue | Holds the starting value for the property. |
m_nTargetValue | Holds the target value for the property. |
m_nChangeValue | Holds the change in value for the property. |
m_nDuration | Holds the duration of the animation in milliseconds. |
m_nStartTime | Holds the starting time of the animation in milliseconds. |
m_fncTransition | Holds a reference to the transition function being used for this animation. |
Functions | |
FunctionsAnimation | Constructor. |
render | Renders the animation. |
public function FunctionsAnimation( objTarget: Object, strGetFunction: String, strSetFunction: String, nTargetValue: Number, nDuration: Number, strTransition: String, uRenderMethod: uint )
Constructor.
param | objTarget The target object being animated. |
param | strGetFunction The get function of the target object that is being animated. |
param | strGetFunction The set function of the target object that is being animated. |
param | nTargetValue The value the property is getting animated to. |
param | nDuration The duration of the animation in milliseconds. |
param | strTransition The transition to be used for the animation. |
param | uRenderMethod The method being used to render this animation. |
com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod
Holds a reference to the target object’s set function.
protected var m_fncSet: Function
Holds the starting value for the property.
protected var m_nStartValue: Number
Holds the target value for the property.
protected var m_nTargetValue: Number
Holds the change in value for the property.
protected var m_nChangeValue: Number
Holds the duration of the animation in milliseconds.
protected var m_nDuration: Number
Holds the starting time of the animation in milliseconds.
protected var m_nStartTime: Number
Holds a reference to the transition function being used for this animation.
protected var m_fncTransition: Function
Constructor.
public function FunctionsAnimation( objTarget: Object, strGetFunction: String, strSetFunction: String, nTargetValue: Number, nDuration: Number, strTransition: String, uRenderMethod: uint )
Renders the animation.
public override function render():Boolean