Packagecom.boostworthy.animation.management.types
Classpublic class FunctionsAnimation
InheritanceFunctionsAnimation Inheritance Animation

The 'FunctionsAnimation' class animates any value that is accessed through get and set functions instead of getter/setters.

See also

com.boostworthy.animation.management.types.abstract.Animation
com.boostworthy.animation.management.types.abstract.IAnimation


Public Properties
 PropertyDefined by
 Inheritedmethod : uint
Gets the method being used to render the animation.
Animation
 Inheritedproperty : String
Gets the property of the target object being animated.
Animation
 Inheritedtarget : Object
Gets a reference to the target object being animated.
Animation
Protected Properties
 PropertyDefined by
  m_fncSet : Function
Holds a reference to the target object's set function.
FunctionsAnimation
  m_fncTransition : Function
Holds a reference to the transition function being used for this animation.
FunctionsAnimation
  m_nChangeValue : Number
Holds the change in value for the property.
FunctionsAnimation
  m_nDuration : Number
Holds the duration of the animation in milliseconds.
FunctionsAnimation
  m_nStartTime : Number
Holds the starting time of the animation in milliseconds.
FunctionsAnimation
  m_nStartValue : Number
Holds the starting value for the property.
FunctionsAnimation
  m_nTargetValue : Number
Holds the target value for the property.
FunctionsAnimation
 Inheritedm_objTarget : Object
Holds a reference to the target object being animated.
Animation
 Inheritedm_strProperty : String
Holds the property of the target object that is being animated.
Animation
 Inheritedm_uRenderMethod : uint
Holds the method being used to render this animation.
Animation
Public Methods
 MethodDefined by
  
FunctionsAnimation(objTarget:Object, strGetFunction:String, strSetFunction:String, nTargetValue:Number, nDuration:Number, strTransition:String, uRenderMethod:uint)
Constructor.
FunctionsAnimation
  
render():Boolean
Renders the animation.
FunctionsAnimation
Property detail
m_fncSetproperty
protected var m_fncSet:Function

Holds a reference to the target object's set function.

m_fncTransitionproperty 
protected var m_fncTransition:Function

Holds a reference to the transition function being used for this animation.

m_nChangeValueproperty 
protected var m_nChangeValue:Number

Holds the change in value for the property.

m_nDurationproperty 
protected var m_nDuration:Number

Holds the duration of the animation in milliseconds.

m_nStartTimeproperty 
protected var m_nStartTime:Number

Holds the starting time of the animation in milliseconds.

m_nStartValueproperty 
protected var m_nStartValue:Number

Holds the starting value for the property.

m_nTargetValueproperty 
protected var m_nTargetValue:Number

Holds the target value for the property.

Constructor detail
FunctionsAnimation()constructor
public function FunctionsAnimation(objTarget:Object, strGetFunction:String, strSetFunction:String, nTargetValue:Number, nDuration:Number, strTransition:String, uRenderMethod:uint)

Constructor.

Parameters
objTarget:Object — The target object being animated.
 
strGetFunction:String — The get function of the target object that is being animated.
 
strSetFunction:String — The set function of the target object that is being animated.
 
nTargetValue:Number — The value the property is getting animated to.
 
nDuration:Number — The duration of the animation in milliseconds.
 
strTransition:String — The transition to be used for the animation.
 
uRenderMethod:uint — The method being used to render this animation.

See also

Method detail
render()method
public override function render():Boolean

Renders the animation.

Returns
Boolean — A boolean value that is 'true' if the animation was updated successfully, 'false' if it was not.