Package | com.boostworthy.animation.sequence.tweens |
Class | public class Action |
Implements | ITween |
See also
Property | Defined by | ||
---|---|---|---|
firstFrame : uint [read-only]
Gets the first frame of the timeline that has a keyframe on it.
| Action | ||
lastFrame : uint [read-only]
Gets the last frame of the timeline that has a keyframe on it.
| Action | ||
property : String [read-only]
Gets a string of the target property.
| Action | ||
target : Object [read-only]
Gets a reference to the target object being tweened.
| Action |
Property | Defined by | ||
---|---|---|---|
m_aParamsForward : Array
Holds an array of parameters to pass to the forward function.
| Action | ||
m_aParamsReverse : Array
Holds an array of parameters to pass to the reverse function.
| Action | ||
m_fncForward : Function
The function to be called when the specified frame of this action is
reached while the timeline playhead is moving forward.
| Action | ||
m_fncReverse : Function
The function to be called when the specified frame of this action is
reached while the timeline playhead is moving in reverse.
| Action | ||
m_uFirstFrame : uint
The first frame of the tween.
| Action | ||
m_uLastFrame : uint
The last frame of the tween.
| Action | ||
m_uPreviousFrame : uint
Stores the previously rendered frame number.
| Action |
Method | Defined by | ||
---|---|---|---|
Action(fncForward:Function, aParamsForward:Array, fncReverse:Function, aParamsReverse:Array, uFrame:uint)
Constructor.
| Action | ||
Creates a new action object that is a clone of this object.
| Action | ||
renderFrame(uFrame:uint):void
Renders the specified frame.
| Action |
Constant | Defined by | ||
---|---|---|---|
PROPERTY : String = "action"
Meta data for representing the property being animated.
| Action |
firstFrame | property |
firstFrame:uint
[read-only]Gets the first frame of the timeline that has a keyframe on it.
Implementation public function get firstFrame():uint
lastFrame | property |
lastFrame:uint
[read-only]Gets the last frame of the timeline that has a keyframe on it.
Implementation public function get lastFrame():uint
m_aParamsForward | property |
protected var m_aParamsForward:Array
Holds an array of parameters to pass to the forward function.
m_aParamsReverse | property |
protected var m_aParamsReverse:Array
Holds an array of parameters to pass to the reverse function.
m_fncForward | property |
protected var m_fncForward:Function
The function to be called when the specified frame of this action is reached while the timeline playhead is moving forward.
m_fncReverse | property |
protected var m_fncReverse:Function
The function to be called when the specified frame of this action is reached while the timeline playhead is moving in reverse.
m_uFirstFrame | property |
protected var m_uFirstFrame:uint
The first frame of the tween.
m_uLastFrame | property |
protected var m_uLastFrame:uint
The last frame of the tween.
m_uPreviousFrame | property |
protected var m_uPreviousFrame:uint
Stores the previously rendered frame number.
property | property |
property:String
[read-only]Gets a string of the target property.
Implementation public function get property():String
target | property |
target:Object
[read-only]Gets a reference to the target object being tweened.
Implementation public function get target():Object
Action | () | constructor |
public function Action(fncForward:Function, aParamsForward:Array, fncReverse:Function, aParamsReverse:Array, uFrame:uint)
Constructor.
ParametersfncForward:Function — The function that will be called whenever the specified frame is hit while the timeline's playhead is moving forward.
|
|
aParamsForward:Array — An array of parameters to pass to the forward function.
|
|
fncReverse:Function — The function that will be called whenever the specified frame is hit while the timeline's playhead is moving in reverse.
|
|
aParamsReverse:Array — An array of parameters to pass to the reverse function.
|
|
uFrame:uint — The frame for this action to take place on.
|
clone | () | method |
public function clone():ITween
Creates a new action object that is a clone of this object.
ReturnsITween —
A new action object.
|
renderFrame | () | method |
public function renderFrame(uFrame:uint):void
Renders the specified frame.
ParametersuFrame:uint — The frame to render.
|
PROPERTY | constant |
protected const PROPERTY:String = "action"
Meta data for representing the property being animated.