BlurAnimation |
The ‘BlurAnimation’ class animates the blur filter of the target object. If a blur filter does not currently exist for the target object, one is created and applied to it.
com.boostworthy.animation.management.types.abstract.Animation, com.boostworthy.animation.management.types.abstract.IAnimation
BlurAnimation | The ‘BlurAnimation’ class animates the blur filter of the target object. |
Constants | |
PROPERTY | Meta data for representing the property being animated. |
DEFAULT_BLUR_X | Default value for the ‘blurX’ property of the blur filter. |
DEFAULT_BLUR_Y | Default value for the ‘blurY’ property of the blur filter. |
DEFAULT_QUALITY | Default value for the quality setting of the blur filter. |
Variables | |
m_nStartValueX | Holds the starting value for the ‘blurX’ property. |
m_nTargetValueX | Holds the target value for the ‘blurX’ property. |
m_nChangeValueX | Holds the change in value for the ‘blurX’ property. |
m_nStartValueY | Holds the starting value for the ‘blurY’ property. |
m_nTargetValueY | Holds the target value for the ‘blurY’ property. |
m_nChangeValueY | Holds the change in value for the ‘blurY’ 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. |
m_objBlur | Holds the blur filter to be applied to the target object. |
m_aFilters | Holds a copy of all filters currently applied to the target object. |
Functions | |
BlurAnimation | Constructor. |
render | Renders the animation. |
public function BlurAnimation( objTarget: DisplayObject, nTargetValueX: Number, nTargetValueY: Number, nQuality: Number, nDuration: Number, strTransition: String, uRenderMethod: uint )
Constructor.
param | objTarget The target object being animated. |
param | nTargetValueX The target value for the ‘blurX’ property of the target object’s blur filter. A value that is a power of two is recommended for maximum performance. |
param | nTargetValueY The target value for the ‘blurX’ property of the target object’s blur filter. A value that is a power of two is recommended for maximum performance. |
param | nQuality The quality of the blur being applied. |
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
Meta data for representing the property being animated.
public static const PROPERTY: String
Default value for the ‘blurX’ property of the blur filter.
protected static const DEFAULT_BLUR_X: Number
Default value for the ‘blurY’ property of the blur filter.
protected static const DEFAULT_BLUR_Y: Number
Default value for the quality setting of the blur filter.
protected static const DEFAULT_QUALITY: Number
Holds the starting value for the ‘blurX’ property.
protected var m_nStartValueX: Number
Holds the target value for the ‘blurX’ property.
protected var m_nTargetValueX: Number
Holds the change in value for the ‘blurX’ property.
protected var m_nChangeValueX: Number
Holds the starting value for the ‘blurY’ property.
protected var m_nStartValueY: Number
Holds the target value for the ‘blurY’ property.
protected var m_nTargetValueY: Number
Holds the change in value for the ‘blurY’ property.
protected var m_nChangeValueY: 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
Holds the blur filter to be applied to the target object.
protected var m_objBlur: BlurFilter
Holds a copy of all filters currently applied to the target object.
protected var m_aFilters: Array
Constructor.
public function BlurAnimation( objTarget: DisplayObject, nTargetValueX: Number, nTargetValueY: Number, nQuality: Number, nDuration: Number, strTransition: String, uRenderMethod: uint )
Renders the animation.
public override function render():Boolean