Animation

The ‘Animation’ class is the base class for all animation objects.

Summary
AnimationThe ‘Animation’ class is the base class for all animation objects.
Variables
m_objTargetHolds a reference to the target object being animated.
m_strPropertyHolds the property of the target object that is being animated.
m_uRenderMethodHolds the method being used to render this animation.
Functions and Properties
AnimationConstructor.
targetGets a reference to the target object being animated.
propertyGets the property of the target object being animated.
methodGets the method being used to render the animation.
renderRenders the animation.

Variables

m_objTarget

protected var m_objTarget: Object

Holds a reference to the target object being animated.

m_strProperty

protected var m_strProperty: String

Holds the property of the target object that is being animated.

m_uRenderMethod

protected var m_uRenderMethod: uint

Holds the method being used to render this animation.

Functions and Properties

Animation

public function Animation(objTarget: Object,
strProperty: String,
uRenderMethod: uint)

Constructor.

Parameters

param objTarget The target object being animated.
param strProperty The property of the target object that is being animated.
param uRenderMethod The method being used to render this animation. 

See Also

com.boostworthy.animation.RenderMethod

target

public function get target():Object

Gets a reference to the target object being animated.

Returns

A reference to the target object being animated. 

property

public function get property():String

Gets the property of the target object being animated.

Returns

The property of the target object being animated. 

method

public function get method():uint

Gets the method being used to render the animation.

Returns

The method being used to render the animation. 

See Also

com.boostworthy.animation.RenderMethod

render

public function render():Boolean

Renders the animation.

Returns

A boolean value that is ‘true’ if the animation was updated successfully, ‘false’ if it was not. 

The ‘IAnimation’ interface defines a common interface for all animation objects.
The ‘AlphaAnimation’ class animates the ‘alpha’ property of a display object.
The ‘BlurAnimation’ class animates the blur filter of the target object.
The ‘BrightnessAnimation’ class animates the brightness of any colorable display object.
The ‘ColorAnimation’ class animates the color of a display object.
protected var m_objTarget: Object
Holds a reference to the target object being animated.
protected var m_strProperty: String
Holds the property of the target object that is being animated.
protected var m_uRenderMethod: uint
Holds the method being used to render this animation.
public function Animation(objTarget: Object,
strProperty: String,
uRenderMethod: uint)
Constructor.
public function get target():Object
Gets a reference to the target object being animated.
public function get property():String
Gets the property of the target object being animated.
public function get method():uint
Gets the method being used to render the animation.
public function render():Boolean
Renders the animation.
Close