Packagecom.boostworthy.animation.management.types
Classpublic class BlurAnimation
InheritanceBlurAnimation Inheritance Animation

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.

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_aFilters : Array
Holds a copy of all filters currently applied to the target object.
BlurAnimation
  m_fncTransition : Function
Holds a reference to the transition function being used for this animation.
BlurAnimation
  m_nChangeValueX : Number
Holds the change in value for the 'blurX' property.
BlurAnimation
  m_nChangeValueY : Number
Holds the change in value for the 'blurY' property.
BlurAnimation
  m_nDuration : Number
Holds the duration of the animation in milliseconds.
BlurAnimation
  m_nStartTime : Number
Holds the starting time of the animation in milliseconds.
BlurAnimation
  m_nStartValueX : Number
Holds the starting value for the 'blurX' property.
BlurAnimation
  m_nStartValueY : Number
Holds the starting value for the 'blurY' property.
BlurAnimation
  m_nTargetValueX : Number
Holds the target value for the 'blurX' property.
BlurAnimation
  m_nTargetValueY : Number
Holds the target value for the 'blurY' property.
BlurAnimation
  m_objBlur : BlurFilter
Holds the blur filter to be applied to the target object.
BlurAnimation
 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
  
BlurAnimation(objTarget:DisplayObject, nTargetValueX:Number, nTargetValueY:Number, nQuality:Number, nDuration:Number, strTransition:String, uRenderMethod:uint)
Constructor.
BlurAnimation
  
render():Boolean
Renders the animation.
BlurAnimation
Public Constants
 ConstantDefined by
  PROPERTY : String = "filters.BlurFilter.blurX, filters.BlurFilter.blurY"
[static] Meta data for representing the property being animated.
BlurAnimation
Protected Constants
 ConstantDefined by
  DEFAULT_BLUR_X : Number = 0
[static] Default value for the 'blurX' property of the blur filter.
BlurAnimation
  DEFAULT_BLUR_Y : Number = 0
[static] Default value for the 'blurY' property of the blur filter.
BlurAnimation
  DEFAULT_QUALITY : Number = 3
[static] Default value for the quality setting of the blur filter.
BlurAnimation
Property detail
m_aFiltersproperty
protected var m_aFilters:Array

Holds a copy of all filters currently applied to the target object.

m_fncTransitionproperty 
protected var m_fncTransition:Function

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

m_nChangeValueXproperty 
protected var m_nChangeValueX:Number

Holds the change in value for the 'blurX' property.

m_nChangeValueYproperty 
protected var m_nChangeValueY:Number

Holds the change in value for the 'blurY' 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_nStartValueXproperty 
protected var m_nStartValueX:Number

Holds the starting value for the 'blurX' property.

m_nStartValueYproperty 
protected var m_nStartValueY:Number

Holds the starting value for the 'blurY' property.

m_nTargetValueXproperty 
protected var m_nTargetValueX:Number

Holds the target value for the 'blurX' property.

m_nTargetValueYproperty 
protected var m_nTargetValueY:Number

Holds the target value for the 'blurY' property.

m_objBlurproperty 
protected var m_objBlur:BlurFilter

Holds the blur filter to be applied to the target object.

Constructor detail
BlurAnimation()constructor
public function BlurAnimation(objTarget:DisplayObject, nTargetValueX:Number, nTargetValueY:Number, nQuality:Number, nDuration:Number, strTransition:String, uRenderMethod:uint)

Constructor.

Parameters
objTarget:DisplayObject — The target object being animated.
 
nTargetValueX:Number — 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.
 
nTargetValueY:Number — 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.
 
nQuality:Number — The quality of the blur being applied.
 
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.
Constant detail
DEFAULT_BLUR_Xconstant
protected static const DEFAULT_BLUR_X:Number = 0

Default value for the 'blurX' property of the blur filter.

DEFAULT_BLUR_Yconstant 
protected static const DEFAULT_BLUR_Y:Number = 0

Default value for the 'blurY' property of the blur filter.

DEFAULT_QUALITYconstant 
protected static const DEFAULT_QUALITY:Number = 3

Default value for the quality setting of the blur filter.

PROPERTYconstant 
public static const PROPERTY:String = "filters.BlurFilter.blurX, filters.BlurFilter.blurY"

Meta data for representing the property being animated.