| Package | org.as3lib.kitchensync.action |
| Interface | public interface IAction extends ISynchronizerClient, flash.events.IEventDispatcher |
| Subinterfaces | ITween |
| Implementors | AbstractAction, KSSimpleTween |
| Property | Defined by | ||
|---|---|---|---|
| delay : int
delay is the time that will pass after the start() method is called
before the action begins.
| IAction | ||
| duration : int
duration is the length of time that the action will run.
| IAction | ||
| isPaused : Boolean [read-only] Should return true if the action is paused.
| IAction | ||
| isRunning : Boolean [read-only] Should return true if the action is running (or paused).
| IAction | ||
| Method | Defined by | ||
|---|---|---|---|
|
Returns an exact copy of the action.
| IAction | ||
|
kill():void
Unregisters the action and removes any refrerences to objects that it may be holding onto.
| IAction | ||
|
pause():void
Causes the action to be paused.
| IAction | ||
|
Starts the timer for this action.
| IAction | ||
|
stop():void
Stops the action from running and resets the timer.
| IAction | ||
|
unpause():void
Resumes the action at the point where it was paused.
| IAction | ||
![]() |
Update will allow the synchronizer to update the action with the current time.
| ISynchronizerClient | |
| delay | property |
delay:int [read-write]delay is the time that will pass after the start() method is called before the action begins. Uses to allow use of time string parser.
Implementation public function get delay():int
public function set delay(value:int):void
| duration | property |
duration:int [read-write]duration is the length of time that the action will run. Uses to allow use of time string parser.
Implementation public function get duration():int
public function set duration(value:int):void
| isPaused | property |
isPaused:Boolean [read-only]Should return true if the action is paused.
Implementation public function get isPaused():Boolean
| isRunning | property |
isRunning:Boolean [read-only]Should return true if the action is running (or paused).
Implementation public function get isRunning():Boolean
| clone | () | method |
| kill | () | method |
public function kill():voidUnregisters the action and removes any refrerences to objects that it may be holding onto.
| pause | () | method |
public function pause():voidCauses the action to be paused. The action temporarily ignores update events from the Synchronizer and the onUpdate() handler will not be called. When unpause() is called, the action will continue at the point where it was paused. The pause() method affects the start time even if the delay time hasn't expired yet.
| start | () | method |
public function start():IActionStarts the timer for this action.
ReturnsIAction —
The action that was just started for convenience.
|
| stop | () | method |
public function stop():voidStops the action from running and resets the timer.
| unpause | () | method |
public function unpause():voidResumes the action at the point where it was paused.