IEventDispatcher |
AnimationManager |
The ‘AnimationManager’ class creates a quick and easy approach to simple animations. For more complex animation sequences, the ‘Timeline’ object is a better canidate.
com.boostworthy.animation.sequence.Timeline
AnimationManager | The ‘AnimationManager’ class creates a quick and easy approach to simple animations. |
Constants | |
DEFAULT_REFRESH_RATE | Configures the default refresh rate to be used. |
DEFAULT_TRANSITION | Configures the default animation transition. |
DEFAULT_RENDER_METHOD | Configures the default render method for rendering animations. |
Variables | |
m_objFramebuffer | A framebuffer instance for managing all animations to be rendered. |
Functions | |
AnimationManager | Constructor. |
property | Animates any object’s property to the desired target value. |
functions | Animates any value that is accessed through get and set functions instead of getter/setters. |
move | Animates the ‘x’ and ‘y’ properties of a display object to the desired target values. |
size | Animates the ‘width’ and ‘height’ properties of a display object to the desired target values. |
scale | Animates the ‘scaleX’ and ‘scaleY’ properties of a display object to the desired target values. |
rotation | Animates the ‘rotation’ property of a display object to the desired target value. |
alpha | Animates the ‘alpha’ property of a display object to the desired target value. |
color | Animates the color of a display object to the desired target color value. |
brightness | Animates the brightness of a ‘colorable’ object to the desired target color value. |
contrast | Animates the contrast of a ‘colorable’ object to the desired target color value. |
hue | Animates the hue of a ‘colorable’ object to the desired target color value. |
saturation | Animates the saturation of a ‘colorable’ object to the desired target color value. |
pulse | Animates any object’s property back and forth between a minimum and maximum value using a sine wave. |
blur | Animates the ‘blurX’ and ‘blurX’ filter properties of a display object to the desired target values. |
filter | Animates the property of any object’s filter to a specified target value. |
dispose | Performs any appropriate clean-up tasks for garbage collection such as removing event listeners, setting object references to ‘null’, etc. |
remove | Removes all instances of the specified object from the framebuffer. |
removeAll | Removes all animations currently in the framebuffer. |
initColor | Initializes the color of a display object so that it’s color can be animated. |
addEventListener | Adds an animation event listener to the framebuffer. |
removeEventListener | Removes an animation event listener from the framebuffer. |
dispatchEvent | Dispatches the specified event. |
hasEventListener | Check to see if the event dispatcher has any listeners registered for the specified event type. |
willTrigger | Check to see if the event dispatcher or any of it’s ancestors have any listeners registered for the specified event type. |
init | Initializes this object. |
setStageReference | Sets a global reference to the ‘Stage’ if one doesn’t already exist. |
protected const DEFAULT_REFRESH_RATE: Number
Configures the default refresh rate to be used. This value is the interval in which animations being rendered using the ‘RenderMethod.TIMER’ method will be refreshed. The value is in milliseconds.
com.boostworthy.animation.rendering.RenderMethod
public function property( objTarget: Object, strProperty: String, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates any object’s property to the desired target value.
param | objTarget A reference to the object whose property is being animated. |
param | strProperty The name of the property being animated. |
param | nTargetValue The value the property is getting animated to. |
param | nDuration The duration of the animation in milliseconds. |
param | strTransition The transition to be used for the animation. If one is not specified, the ‘DEFAULT_TRANSITION’ is used. |
param | uRenderMethod The render method to use for rendering this object. If one is not specified, the ‘DEFAULT_RENDER_METHOD’ is used. |
com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod, DEFAULT_TRANSITION, DEFAULT_RENDER_METHOD
public function functions( objTarget: Object, strGetFunction: String, strSetFunction: String, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates any value that is accessed through get and set functions instead of getter/setters.
param | objTarget A reference to the object whose functions are being used to animate a value. |
param | strGetFunction The get function of the target object that is being animated. |
param | strSetFunction The set function of the target object that is being animated. |
param | nTargetValue The target value the object’s value is getting animated to. |
param | nDuration The duration of the animation in milliseconds. |
param | strTransition The transition to be used for the animation. If one is not specified, the ‘DEFAULT_TRANSITION’ is used. |
param | uRenderMethod The render method to use for rendering this object. If one is not specified, the ‘DEFAULT_RENDER_METHOD’ is used. |
com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod, DEFAULT_TRANSITION, DEFAULT_RENDER_METHOD
public function move( objTarget: DisplayObject, nTargetValueX: Number, nTargetValueY: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the ‘x’ and ‘y’ properties of a display object to the desired target values.
param | objTarget A reference to the object whose properties are being animated. |
param | nTargetValueX The target value for the ‘x’ property of the target object. |
param | nTargetValueY The target value for the ‘y’ property of the target object. |
param | nDuration The duration of the animation in milliseconds. |
param | strTransition The transition to be used for the animation. If one is not specified, the ‘DEFAULT_TRANSITION’ is used. |
param | uRenderMethod The render method to use for rendering this object. If one is not specified, the ‘DEFAULT_RENDER_METHOD’ is used. |
com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod, DEFAULT_TRANSITION, DEFAULT_RENDER_METHOD
public function size( objTarget: DisplayObject, nTargetValueW: Number, nTargetValueH: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the ‘width’ and ‘height’ properties of a display object to the desired target values.
param | objTarget A reference to the object whose properties are being animated. |
param | nTargetValueW The target value for the ‘width’ property of the target object. |
param | nTargetValueH The target value for the ‘height’ property of the target object. |
param | nDuration The duration of the animation in milliseconds. |
param | strTransition The transition to be used for the animation. If one is not specified, the ‘DEFAULT_TRANSITION’ is used. |
param | uRenderMethod The render method to use for rendering this object. If one is not specified, the ‘DEFAULT_RENDER_METHOD’ is used. |
com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod, DEFAULT_TRANSITION, DEFAULT_RENDER_METHOD
public function scale( objTarget: DisplayObject, nTargetValueX: Number, nTargetValueY: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the ‘scaleX’ and ‘scaleY’ properties of a display object to the desired target values.
param | objTarget A reference to the object whose properties are being animated. |
param | nTargetValueX The target value for the ‘scaleX’ property of the target object. |
param | nTargetValueY The target value for the ‘scaleY’ property of the target object. |
param | nDuration The duration of the animation in milliseconds. |
param | strTransition The transition to be used for the animation. If one is not specified, the ‘DEFAULT_TRANSITION’ is used. |
param | uRenderMethod The render method to use for rendering this object. If one is not specified, the ‘DEFAULT_RENDER_METHOD’ is used. |
com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod, DEFAULT_TRANSITION, DEFAULT_RENDER_METHOD
public function rotation( objTarget: DisplayObject, nTargetValue: Number, nDuration: Number, uNumRepeats: uint = 1, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the ‘rotation’ property of a display object to the desired target value.
The advantage of using this method over the generic ‘Property’ method is that you can specify the amount of times the animation occurs using the ‘number of repeats’ parameter. If the number of repeats is set to ‘1’, the animation will occur one time and animate the rotation property to the specified target value. If a value other than ‘1’ is used, the animation will occur the set number of times, but instead of animating the rotation property to the target value, the target value will be added to the current rotation value each time the animation occurs. A value of ‘0’ for the number of repeats will cause the animation to continue until it is manually removed.
param | objTarget A reference to the object whose property is being animated. |
param | nTargetValue The target value for the ‘rotation’ property of the target object. If a repeat count other than ‘1’ is used, this will be used as the amount to change the value instead of being a target value. |
param | nDuration The duration of the animation in milliseconds. |
param | uNumRepeats The number of times to repeat the animation. A value of ‘0’ will cause the animation to continue until manually removed. |
param | strTransition The transition to be used for the animation. If one is not specified, the ‘DEFAULT_TRANSITION’ is used. |
param | uRenderMethod The render method to use for rendering this object. If one is not specified, the ‘DEFAULT_RENDER_METHOD’ is used. |
com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod, DEFAULT_TRANSITION, DEFAULT_RENDER_METHOD
public function alpha( objTarget: DisplayObject, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the ‘alpha’ property of a display object to the desired target value.
The advantage to using this method over the method ‘Property’ is that a.) it is slightly faster since the property is hard-coded into the animation instead of dynamically accessed each update and more importantly b.) it checks the alpha property at the end of the animation and if the value is ‘0’, it sets the target object’s visibility to ‘false’. If you need the visibility to remain untouched, use the ‘Property’ method instead.
param | objTarget A reference to the object whose property is being animated. |
param | nTargetValue The target value for the ‘alpha’ property of the target object. |
param | nDuration The duration of the animation in milliseconds. |
param | strTransition The transition to be used for the animation. If one is not specified, the ‘DEFAULT_TRANSITION’ is used. |
param | uRenderMethod The render method to use for rendering this object. If one is not specified, the ‘DEFAULT_RENDER_METHOD’ is used. |
com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod, DEFAULT_TRANSITION, DEFAULT_RENDER_METHOD
public function color( objTarget: DisplayObject, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the color of a display object to the desired target color value.
NOTE: If a display object doesn’t already have a color transformation object applied to it, use the ‘InitColor’ method to initialize it’s starting color.
param | objTarget A reference to the object whose color value is being animated. |
param | nTargetValue The target color value of the target object. |
param | nDuration The duration of the animation in milliseconds. |
param | strTransition The transition to be used for the animation. If one is not specified, the ‘DEFAULT_TRANSITION’ is used. |
param | uRenderMethod The render method to use for rendering this object. If one is not specified, the ‘DEFAULT_RENDER_METHOD’ is used. |
InitColor, com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod, DEFAULT_TRANSITION, DEFAULT_RENDER_METHOD
public function brightness( objTarget: IColorable, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the brightness of a ‘colorable’ object to the desired target color value.
param | objTarget A reference to the object whose brightness value is being animated. |
param | nTargetValue The target brightness value of the target object. |
param | nDuration The duration of the animation in milliseconds. |
param | strTransition The transition to be used for the animation. If one is not specified, the ‘DEFAULT_TRANSITION’ is used. |
param | uRenderMethod The render method to use for rendering this object. If one is not specified, the ‘DEFAULT_RENDER_METHOD’ is used. |
com.boostworthy.core.IColorable, com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod, DEFAULT_TRANSITION, DEFAULT_RENDER_METHOD
public function contrast( objTarget: IColorable, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the contrast of a ‘colorable’ object to the desired target color value.
param | objTarget A reference to the object whose contrast value is being animated. |
param | nTargetValue The target contrast value of the target object. |
param | nDuration The duration of the animation in milliseconds. |
param | strTransition The transition to be used for the animation. If one is not specified, the ‘DEFAULT_TRANSITION’ is used. |
param | uRenderMethod The render method to use for rendering this object. If one is not specified, the ‘DEFAULT_RENDER_METHOD’ is used. |
com.boostworthy.core.IColorable, com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod, DEFAULT_TRANSITION, DEFAULT_RENDER_METHOD
public function hue( objTarget: IColorable, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the hue of a ‘colorable’ object to the desired target color value.
param | objTarget A reference to the object whose hue value is being animated. |
param | nTargetValue The target hue value of the target object. |
param | nDuration The duration of the animation in milliseconds. |
param | strTransition The transition to be used for the animation. If one is not specified, the ‘DEFAULT_TRANSITION’ is used. |
param | uRenderMethod The render method to use for rendering this object. If one is not specified, the ‘DEFAULT_RENDER_METHOD’ is used. |
com.boostworthy.core.IColorable, com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod, DEFAULT_TRANSITION, DEFAULT_RENDER_METHOD
public function saturation( objTarget: IColorable, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the saturation of a ‘colorable’ object to the desired target color value.
param | objTarget A reference to the object whose saturation value is being animated. |
param | nTargetValue The target saturation value of the target object. |
param | nDuration The duration of the animation in milliseconds. |
param | strTransition The transition to be used for the animation. If one is not specified, the ‘DEFAULT_TRANSITION’ is used. |
param | uRenderMethod The render method to use for rendering this object. If one is not specified, the ‘DEFAULT_RENDER_METHOD’ is used. |
com.boostworthy.core.IColorable, com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod, DEFAULT_TRANSITION, DEFAULT_RENDER_METHOD
public function pulse( objTarget: Object, strProperty: String, nMin: Number, nMax: Number, nDuration: Number, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates any object’s property back and forth between a minimum and maximum value using a sine wave. In this case, the duration is how long a single wave cycle takes to occur, thus impacting the speed of the pulse. A pulse animation will coninue to occur until it is removed from the framebuffer using the ‘Remove’ or ‘RemoveAll’ methods of this manager.
param | objTarget A reference to the object whose property is being animated. |
param | strProperty The name of the property being animated. |
param | nMin The minimum value output by the pulse. |
param | nMax The maximum value output by the pulse. |
param | nDuration The amount of time it takes for one wave cycle (Min -> Max -> Min). |
param | uRenderMethod The render method to use for rendering this object. If one is not specified, the ‘DEFAULT_RENDER_METHOD’ is used. |
Remove, RemoveAll, com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod, DEFAULT_TRANSITION, DEFAULT_RENDER_METHOD
public function blur( objTarget: DisplayObject, nTargetValueX: Number, nTargetValueY: Number, nQuality: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the ‘blurX’ and ‘blurX’ filter properties of a display object to the desired target values.
param | objTarget A reference to the object whose blur filter propertes are 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 ‘blurY’ 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. If one is not specified, the ‘DEFAULT_TRANSITION’ is used. |
param | uRenderMethod The render method to use for rendering this object. If one is not specified, the ‘DEFAULT_RENDER_METHOD’ is used. |
com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod, DEFAULT_TRANSITION, DEFAULT_RENDER_METHOD
public function filter( objTarget: DisplayObject, objFilter: Class, strProperty: String, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the property of any object’s filter to a specified target value. The filter must already be applied to the display object; one will not be added for you if it is not present.
param | objTarget A reference to the object whose filter is being animated. |
param | objFilter The filter class whose property is being animated. The filter must already be applied to the display object prior to being animated. |
param | strProperty The property of the target object’s filter that is being animated. |
param | nTargetValue The value the property is being animated to. |
param | nDuration The duration of the animation in milliseconds. |
param | strTransition The transition to be used for the animation. If one is not specified, the ‘DEFAULT_TRANSITION’ is used. |
param | uRenderMethod The render method to use for rendering this object. If one is not specified, the ‘DEFAULT_RENDER_METHOD’ is used. |
com.boostworthy.animation.easing.Transitions, com.boostworthy.animation.rendering.RenderMethod, DEFAULT_TRANSITION, DEFAULT_RENDER_METHOD
public function initColor( objTarget: DisplayObject, nColorValue: Number ):void
Initializes the color of a display object so that it’s color can be animated. Use this method to set the starting color of a display object before calling the ‘Color’ method.
param | objTarget The display object to initialize color for. |
param | nColorValue The color value to apply to the target display object. |
public function addEventListener( strType: String, fncListener: Function, bUseCapture: Boolean = false, iPriority: int = 0, bUseWeakReference: Boolean = false ):void
Adds an animation event listener to the framebuffer.
param | strType The event type being listened for. |
param | fncListener A reference to the event handler to be called upon the event being dispatched. |
com.boostworthy.animation.management.Framebuffer
public function removeEventListener( strType: String, fncListener: Function, bUseCapture: Boolean = false ):void
Removes an animation event listener from the framebuffer.
param | strType The event type being listened for. |
param | fncListener A reference to the event handler to be called upon the event being dispatched. |
com.boostworthy.animation.management.Framebuffer
public function hasEventListener( strType: String ):Boolean
Check to see if the event dispatcher has any listeners registered for the specified event type.
param | strType The type of event. |
A value of ‘true’ if a listener of the specified type is registered; ‘false’ otherwise.
public function willTrigger( strType: String ):Boolean
Check to see if the event dispatcher or any of it’s ancestors have any listeners registered for the specified event type.
param | strType The type of event. |
A value of true if a listener of the specified type will be triggered; false otherwise.
Configures the default refresh rate to be used.
protected const DEFAULT_REFRESH_RATE: Number
Configures the default animation transition.
protected const DEFAULT_TRANSITION: String
Configures the default render method for rendering animations.
protected const DEFAULT_RENDER_METHOD: uint
A framebuffer instance for managing all animations to be rendered.
protected var m_objFramebuffer: Framebuffer
Constructor.
public function AnimationManager()
Animates any object’s property to the desired target value.
public function property( objTarget: Object, strProperty: String, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates any value that is accessed through get and set functions instead of getter/setters.
public function functions( objTarget: Object, strGetFunction: String, strSetFunction: String, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the ‘x’ and ‘y’ properties of a display object to the desired target values.
public function move( objTarget: DisplayObject, nTargetValueX: Number, nTargetValueY: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the ‘width’ and ‘height’ properties of a display object to the desired target values.
public function size( objTarget: DisplayObject, nTargetValueW: Number, nTargetValueH: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the ‘scaleX’ and ‘scaleY’ properties of a display object to the desired target values.
public function scale( objTarget: DisplayObject, nTargetValueX: Number, nTargetValueY: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the ‘rotation’ property of a display object to the desired target value.
public function rotation( objTarget: DisplayObject, nTargetValue: Number, nDuration: Number, uNumRepeats: uint = 1, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the ‘alpha’ property of a display object to the desired target value.
public function alpha( objTarget: DisplayObject, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the color of a display object to the desired target color value.
public function color( objTarget: DisplayObject, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the brightness of a ‘colorable’ object to the desired target color value.
public function brightness( objTarget: IColorable, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the contrast of a ‘colorable’ object to the desired target color value.
public function contrast( objTarget: IColorable, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the hue of a ‘colorable’ object to the desired target color value.
public function hue( objTarget: IColorable, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the saturation of a ‘colorable’ object to the desired target color value.
public function saturation( objTarget: IColorable, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates any object’s property back and forth between a minimum and maximum value using a sine wave.
public function pulse( objTarget: Object, strProperty: String, nMin: Number, nMax: Number, nDuration: Number, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the ‘blurX’ and ‘blurX’ filter properties of a display object to the desired target values.
public function blur( objTarget: DisplayObject, nTargetValueX: Number, nTargetValueY: Number, nQuality: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Animates the property of any object’s filter to a specified target value.
public function filter( objTarget: DisplayObject, objFilter: Class, strProperty: String, nTargetValue: Number, nDuration: Number, strTransition: String = DEFAULT_TRANSITION, uRenderMethod: uint = DEFAULT_RENDER_METHOD ):void
Performs any appropriate clean-up tasks for garbage collection such as removing event listeners, setting object references to ‘null’, etc.
public function dispose():void
Removes all instances of the specified object from the framebuffer.
public function remove( objTarget: Object ):void
Removes all animations currently in the framebuffer.
public function removeAll():void
Initializes the color of a display object so that it’s color can be animated.
public function initColor( objTarget: DisplayObject, nColorValue: Number ):void
Adds an animation event listener to the framebuffer.
public function addEventListener( strType: String, fncListener: Function, bUseCapture: Boolean = false, iPriority: int = 0, bUseWeakReference: Boolean = false ):void
Removes an animation event listener from the framebuffer.
public function removeEventListener( strType: String, fncListener: Function, bUseCapture: Boolean = false ):void
Dispatches the specified event.
public function dispatchEvent( objEvent: Event ):Boolean
Check to see if the event dispatcher has any listeners registered for the specified event type.
public function hasEventListener( strType: String ):Boolean
Check to see if the event dispatcher or any of it’s ancestors have any listeners registered for the specified event type.
public function willTrigger( strType: String ):Boolean
Initializes this object.
protected function init():void
Sets a global reference to the ‘Stage’ if one doesn’t already exist.
protected function setStageReference( objTarget: DisplayObject ):void