Package | com.boostworthy.animation.management.types |
Class | public class FilterAnimation |
Inheritance | FilterAnimation ![]() |
See also
Property | Defined by | ||
---|---|---|---|
m_fncTransition : Function
Holds a reference to the transition function being used for this animation.
| FilterAnimation | ||
m_nChangeValue : Number
Holds the change in value for the filter's property.
| FilterAnimation | ||
m_nDuration : Number
Holds the duration of the animation in milliseconds.
| FilterAnimation | ||
m_nStartTime : Number
Holds the starting time of the animation in milliseconds.
| FilterAnimation | ||
m_nStartValue : Number
Holds the starting value for the filter's property.
| FilterAnimation | ||
m_nTargetValue : Number
Holds the target value for the filter's property.
| FilterAnimation | ||
m_objFilter : Class
Holds the filter whose property is being animated.
| FilterAnimation | ||
![]() | 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 | ||
---|---|---|---|
FilterAnimation(objTarget:DisplayObject, objFilter:Class, strProperty:String, nTargetValue:Number, nDuration:Number, strTransition:String, uRenderMethod:uint)
Constructor.
| FilterAnimation | ||
render():Boolean
Renders the animation.
| FilterAnimation |
Method | Defined by | ||
---|---|---|---|
getFilters():Array
Gets an array containing all the target object's filters, except for the target filter.
| FilterAnimation | ||
getTargetFilter():BitmapFilter
Gets a reference to the target filter.
| FilterAnimation | ||
updateTargetFliter(nValue:Number):void
Updates the target filter by applying the specified value to it's property, then
reapplies itself to the target object.
| FilterAnimation |
m_fncTransition | property |
protected var m_fncTransition:Function
Holds a reference to the transition function being used for this animation.
m_nChangeValue | property |
protected var m_nChangeValue:Number
Holds the change in value for the filter's 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_nStartValue | property |
protected var m_nStartValue:Number
Holds the starting value for the filter's property.
m_nTargetValue | property |
protected var m_nTargetValue:Number
Holds the target value for the filter's property.
m_objFilter | property |
protected var m_objFilter:Class
Holds the filter whose property is being animated.
FilterAnimation | () | constructor |
public function FilterAnimation(objTarget:DisplayObject, objFilter:Class, strProperty:String, nTargetValue:Number, nDuration:Number, strTransition:String, uRenderMethod:uint)
Constructor.
ParametersobjTarget:DisplayObject — The target object being animated.
|
|
objFilter:Class — The filter class whose property is being animated. The filter must already be applied to the display object prior to being animated.
|
|
strProperty:String — The property of the target object's filter that is being animated.
|
|
nTargetValue:Number — The value the property is being 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
getFilters | () | method |
protected function getFilters():Array
Gets an array containing all the target object's filters, except for the target filter.
ReturnsArray — An array containing filters.
|
getTargetFilter | () | method |
protected function getTargetFilter():BitmapFilter
Gets a reference to the target filter.
ReturnsBitmapFilter — A reference to the target filter.
|
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.
|
updateTargetFliter | () | method |
protected function updateTargetFliter(nValue:Number):void
Updates the target filter by applying the specified value to it's property, then reapplies itself to the target object.
ParametersnValue:Number — The value to apply to the target filter's property.
|