| Package | graphics.transitions |
| Class | public class Motion |
| Inheritance | Motion CoreTransition CoreAction Task Object |
| Subclasses | Tween, TweenLite, TweenUnit |
| Property | Defined By | ||
|---|---|---|---|
![]() | changeIt : Signaler
This signal emit when the notifyChanged method is invoked. | CoreAction | |
![]() | clearIt : Signaler
This signal emit when the notifyCleared method is invoked. | CoreAction | |
| duration : Number
Returns the duration of the tweened animation in frames or seconds. | Motion | ||
![]() | finishIt : Signaler
This signal emit when the notifyFinished method is invoked. | Task | |
| fps : Number
Returns the number of frames per second of the tweened animation. | Motion | ||
![]() | id : *
Indicates the id value of this object. | CoreTransition | |
![]() | infoIt : Signaler
This signal emit when the notifyInfo method is invoked. | CoreAction | |
![]() | logger : Logger
Determinates the internal Logger reference of this Loggable object. | Task | |
![]() | looping : Boolean
The flag to determinate if the Action object is looped. | CoreAction | |
![]() | loopIt : Signaler
This signal emit when the notifyLooped method is invoked. | CoreAction | |
![]() | pauseIt : Signaler
This signal emit when the notifyPause method is invoked. | CoreAction | |
![]() | phase : String [read-only]
The current phase of the action. | Task | |
| prevTime : Number
Defined the internal prevTime value. | Motion | ||
![]() | progressIt : Signaler
This signal emit when the notifyProgress method is invoked. | CoreAction | |
![]() | resumeIt : Signaler
This signal emit when the notifyResumed method is invoked. | CoreAction | |
![]() | running : Boolean [read-only]
Indicates true if the process is in progress. | Task | |
![]() | startIt : Signaler
This signal emit when the notifyStarted method is invoked. | Task | |
![]() | stopIt : Signaler
This signal emit when the notifyStopped method is invoked. | CoreAction | |
| stopped : Boolean [read-only]
Indicates if the motion is stopped. | Motion | ||
| target : *
Indicates the target reference of the object contrains by the Motion effect. | Motion | ||
| time : Number [read-only]
Indicates the current time within the duration of the animation. | Motion | ||
![]() | timeoutIt : Signaler
This signal emit when the notifyTimeOut method is invoked. | CoreAction | |
| useSeconds : Boolean
Defined if the Motion used seconds or not. | Motion | ||
| Method | Defined By | ||
|---|---|---|---|
Motion()
Creates a new Motion instance. | Motion | ||
clone():* [override]
Returns a shallow copy of this object. | Motion | ||
![]() | equals(o:*):Boolean
Compares the specified object with this object for equality. | CoreTransition | |
![]() | isLocked():Boolean
Returns true if the object is locked. | Task | |
![]() | lock():void
Locks the object. | Task | |
nextFrame():void
Forwards the tweened animation to the next frame. | Motion | ||
![]() | notifyChanged():void
Notify when the process is changed. | CoreAction | |
![]() | notifyCleared():void
Notify when the process is cleared. | CoreAction | |
![]() | notifyFinished():void
Notify an ActionEvent when the process is finished. | Task | |
![]() | notifyInfo(info:*):void
Notify a specific information when the process is changed. | CoreAction | |
![]() | notifyLooped():void
Notify when the process is looped. | CoreAction | |
![]() | notifyPaused():void
Notify when the process is paused. | CoreAction | |
![]() | notifyProgress():void
Notify when the process is in progress. | CoreAction | |
![]() | notifyResumed():void
Notify when the process is resumed. | CoreAction | |
![]() | notifyStarted():void
Notify an ActionEvent when the process is started. | Task | |
![]() | notifyStopped():void
Notify when the process is stopped. | CoreAction | |
![]() | notifyTimeOut():void
Notify when the process is out of time. | CoreAction | |
prevFrame():void
Directs the tweened animation to the frame previous to the current frame. | Motion | ||
resume():void [override]
Resumes a tweened animation from its stopped point in the animation. | Motion | ||
rewind(t:Number = 0):void
Rewinds a tweened animation to the beginning of the tweened animation. | Motion | ||
run(... arguments):void [override]
Runs the object. | Motion | ||
setTime(t:Number):void
Sets the current time within the duration of the animation. | Motion | ||
start():void [override]
Starts the tweened animation from the beginning. | Motion | ||
startInterval():void
Starts the intenral interval of the tweened animation. | Motion | ||
stop():void [override]
Stops the tweened animation at its current position. | Motion | ||
stopInterval():void
Stops the intenral interval of the tweened animation. | Motion | ||
![]() | unlock():void
Unlocks the display. | Task | |
update():void
Update the current object. | Motion | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | setRunning(b:Boolean):void
Changes the running property value. | Task | |
Sets the internal timer of the tweened animation. | Motion | ||
| duration | property |
duration:NumberReturns the duration of the tweened animation in frames or seconds.
public function get duration():Number public function set duration(value:Number):void| fps | property |
fps:NumberReturns the number of frames per second of the tweened animation.
public function get fps():Number public function set fps(value:Number):void| prevTime | property |
public var prevTime:NumberDefined the internal prevTime value.
| stopped | property |
stopped:Boolean [read-only] Indicates if the motion is stopped.
public function get stopped():Boolean| target | property |
target:*Indicates the target reference of the object contrains by the Motion effect.
public function get target():* public function set target(value:any):void| time | property |
time:Number [read-only] Indicates the current time within the duration of the animation.
public function get time():Number| useSeconds | property |
public var useSeconds:BooleanDefined if the Motion used seconds or not.
| Motion | () | Constructor |
public function Motion()Creates a new Motion instance.
| clone | () | method |
override public function clone():*Returns a shallow copy of this object.
Returns* — a shallow copy of this object.
|
| nextFrame | () | method |
public function nextFrame():voidForwards the tweened animation to the next frame.
| prevFrame | () | method |
public function prevFrame():voidDirects the tweened animation to the frame previous to the current frame.
| resume | () | method |
override public function resume():voidResumes a tweened animation from its stopped point in the animation.
| rewind | () | method |
public function rewind(t:Number = 0):voidRewinds a tweened animation to the beginning of the tweened animation.
Parameters
t:Number (default = 0) |
| run | () | method |
override public function run(... arguments):voidRuns the object.
Parameters
... arguments |
| setTime | () | method |
public function setTime(t:Number):voidSets the current time within the duration of the animation.
Parameters
t:Number |
| setTimer | () | method |
protected function setTimer(timer:ITimer):voidSets the internal timer of the tweened animation.
Parameters
timer:ITimer |
| start | () | method |
override public function start():voidStarts the tweened animation from the beginning.
| startInterval | () | method |
public function startInterval():voidStarts the intenral interval of the tweened animation.
| stop | () | method |
override public function stop():voidStops the tweened animation at its current position.
| stopInterval | () | method |
public function stopInterval():voidStops the intenral interval of the tweened animation.
| update | () | method |
public function update():voidUpdate the current object.