Package | com.boostworthy.animation.management.types |
Class | public class ColorAnimation |
Inheritance | ColorAnimation ![]() |
See also
Property | Defined by | ||
---|---|---|---|
m_fncTransition : Function
Holds a reference to the transition function being used for this animation.
| ColorAnimation | ||
m_nChangeValueB : Number
Holds the change in value for the 'blue' portion of the color.
| ColorAnimation | ||
m_nChangeValueG : Number
Holds the change in value for the 'green' portion of the color.
| ColorAnimation | ||
m_nChangeValueR : Number
Holds the change in value for the 'red' portion of the color.
| ColorAnimation | ||
m_nDuration : Number
Holds the duration of the animation in milliseconds.
| ColorAnimation | ||
m_nStartTime : Number
Holds the starting time of the animation in milliseconds.
| ColorAnimation | ||
m_nStartValueB : Number
Holds the starting value for the 'blue' portion of the color.
| ColorAnimation | ||
m_nStartValueG : Number
Holds the starting value for the 'green' portion of the color.
| ColorAnimation | ||
m_nStartValueR : Number
Holds the starting value for the 'red' portion of the color.
| ColorAnimation | ||
m_nTargetValueB : Number
Holds the target value for the 'blue' portion of the color.
| ColorAnimation | ||
m_nTargetValueG : Number
Holds the target value for the 'green' portion of the color.
| ColorAnimation | ||
m_nTargetValueR : Number
Holds the target value for the 'red' portion of the color.
| ColorAnimation | ||
![]() | m_objTarget : Object
Holds a reference to the target object being animated.
| Animation | |
![]() | m_strProperty : String
Holds the property of the target object that is being animated.
| Animation | |
![]() | m_uRenderMethod : uint
Holds the method being used to render this animation.
| Animation |
Method | Defined by | ||
---|---|---|---|
ColorAnimation(objTarget:DisplayObject, nTargetValue:Number, nDuration:Number, strTransition:String, uRenderMethod:uint)
Constructor.
| ColorAnimation | ||
render():Boolean
Renders the animation.
| ColorAnimation |
Constant | Defined by | ||
---|---|---|---|
PROPERTY : String = "transform.colorTransform.redOffset, transform.colorTransform.greenOffset, transform.colorTransform.blueOffset" [static]
Meta data for representing the property being animated.
| ColorAnimation |
m_fncTransition | property |
protected var m_fncTransition:Function
Holds a reference to the transition function being used for this animation.
m_nChangeValueB | property |
protected var m_nChangeValueB:Number
Holds the change in value for the 'blue' portion of the color.
m_nChangeValueG | property |
protected var m_nChangeValueG:Number
Holds the change in value for the 'green' portion of the color.
m_nChangeValueR | property |
protected var m_nChangeValueR:Number
Holds the change in value for the 'red' portion of the color.
m_nDuration | property |
protected var m_nDuration:Number
Holds the duration of the animation in milliseconds.
m_nStartTime | property |
protected var m_nStartTime:Number
Holds the starting time of the animation in milliseconds.
m_nStartValueB | property |
protected var m_nStartValueB:Number
Holds the starting value for the 'blue' portion of the color.
m_nStartValueG | property |
protected var m_nStartValueG:Number
Holds the starting value for the 'green' portion of the color.
m_nStartValueR | property |
protected var m_nStartValueR:Number
Holds the starting value for the 'red' portion of the color.
m_nTargetValueB | property |
protected var m_nTargetValueB:Number
Holds the target value for the 'blue' portion of the color.
m_nTargetValueG | property |
protected var m_nTargetValueG:Number
Holds the target value for the 'green' portion of the color.
m_nTargetValueR | property |
protected var m_nTargetValueR:Number
Holds the target value for the 'red' portion of the color.
ColorAnimation | () | constructor |
public function ColorAnimation(objTarget:DisplayObject, nTargetValue:Number, nDuration:Number, strTransition:String, uRenderMethod:uint)
Constructor.
ParametersobjTarget:DisplayObject — The target object being animated.
|
|
nTargetValue:Number — The target color value of the target object.
|
|
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
render | () | method |
public override function render():Boolean
Renders the animation.
ReturnsBoolean — A boolean value that is 'true' if the animation was updated successfully, 'false' if it was not.
|
PROPERTY | constant |
public static const PROPERTY:String = "transform.colorTransform.redOffset, transform.colorTransform.greenOffset, transform.colorTransform.blueOffset"
Meta data for representing the property being animated.