Package | com.boostworthy.animation.management.types |
Class | public class SizeAnimation |
Inheritance | SizeAnimation ![]() |
See also
Property | Defined by | ||
---|---|---|---|
m_fncTransition : Function
Holds a reference to the transition function being used for this animation.
| SizeAnimation | ||
m_nChangeValueH : Number
Holds the change in value for the 'height' property.
| SizeAnimation | ||
m_nChangeValueW : Number
Holds the change in value for the 'width' property.
| SizeAnimation | ||
m_nDuration : Number
Holds the duration of the animation in milliseconds.
| SizeAnimation | ||
m_nStartTime : Number
Holds the starting time of the animation in milliseconds.
| SizeAnimation | ||
m_nStartValueH : Number
Holds the starting value for the 'height' property.
| SizeAnimation | ||
m_nStartValueW : Number
Holds the starting value for the 'width' property.
| SizeAnimation | ||
m_nTargetValueH : Number
Holds the target value for the 'height' property.
| SizeAnimation | ||
m_nTargetValueW : Number
Holds the target value for the 'width' property.
| SizeAnimation | ||
![]() | 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 | ||
---|---|---|---|
SizeAnimation(objTarget:DisplayObject, nTargetValueW:Number, nTargetValueH:Number, nDuration:Number, strTransition:String, uRenderMethod:uint)
Constructor.
| SizeAnimation | ||
render():Boolean
Renders the animation.
| SizeAnimation |
Constant | Defined by | ||
---|---|---|---|
PROPERTY : String = "width, height" [static]
Meta data for representing the property being animated.
| SizeAnimation |
m_fncTransition | property |
protected var m_fncTransition:Function
Holds a reference to the transition function being used for this animation.
m_nChangeValueH | property |
protected var m_nChangeValueH:Number
Holds the change in value for the 'height' property.
m_nChangeValueW | property |
protected var m_nChangeValueW:Number
Holds the change in value for the 'width' property.
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_nStartValueH | property |
protected var m_nStartValueH:Number
Holds the starting value for the 'height' property.
m_nStartValueW | property |
protected var m_nStartValueW:Number
Holds the starting value for the 'width' property.
m_nTargetValueH | property |
protected var m_nTargetValueH:Number
Holds the target value for the 'height' property.
m_nTargetValueW | property |
protected var m_nTargetValueW:Number
Holds the target value for the 'width' property.
SizeAnimation | () | constructor |
public function SizeAnimation(objTarget:DisplayObject, nTargetValueW:Number, nTargetValueH:Number, nDuration:Number, strTransition:String, uRenderMethod:uint)
Constructor.
ParametersobjTarget:DisplayObject — The target object being animated.
|
|
nTargetValueW:Number — The target value for the 'width' property of the target object.
|
|
nTargetValueH:Number — The target value for the 'height' property 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 = "width, height"
Meta data for representing the property being animated.