| Package | org.as3lib.kitchensync.action |
| Class | public class KSStepedSequenceGroup |
| Inheritance | KSStepedSequenceGroup |
| Property | Defined by | ||
|---|---|---|---|
| _autoDelete : Boolean | AbstractAction | ||
| _childActions : Array | AbstractActionGroup | ||
| _currentAction : IAction = null | KSSequenceGroup | ||
| _currentActionIndex : int = -1 | KSSequenceGroup | ||
| _delay : int = 0 | AbstractAction | ||
| _duration : int = 0 | AbstractAction | ||
| _paused : Boolean = false | AbstractAction | ||
| _pauseTime : Timestamp | AbstractAction | ||
| _running : Boolean = false | AbstractAction | ||
| _startTime : Timestamp | AbstractAction | ||
| _sync : Boolean | AbstractAction | ||
| _waitingForInput : Boolean = false
Used internally to determine whether the next item should play or whether the
children should simply be unpaused when the unpause() method is called.
| KSStepedSequenceGroup | ||
| Method | Defined by | ||
|---|---|---|---|
|
KSStepedSequenceGroup(... children)
Constructor.
| KSStepedSequenceGroup | ||
|
Adds an action to the group.
| AbstractActionGroup | ||
|
addActionAtIndex(action:IAction, index:int = -1):void
Adds an action to the group at the specified index.
| AbstractActionGroup | ||
|
addEventTrigger(dispatcher:IEventDispatcher, eventType:String):void
Causes the action to start playing when a specified event is fired.
| AbstractAction | ||
|
addTrigger(trigger:IAction):void
Causes the action to start playing when another event completes.
| AbstractAction | ||
| KSSequenceGroup | |||
|
getChildAtIndex(index:int):IAction
Returns the action at the specified index.
| AbstractActionGroup | ||
|
kill():void
| AbstractActionGroup | ||
|
pause():void
| AbstractActionGroup | ||
|
register():void
Adds the action as a listener to the Synchronizer's update event.
| AbstractAction | ||
|
Removes an action from the group.
| AbstractActionGroup | ||
|
removeActionAtIndex(index:int):IAction
Removes an action at the specified index.
| AbstractActionGroup | ||
|
removeEventTrigger(dispatcher:IEventDispatcher, eventType:String):void
Removes an event trigger added by addEventTrigger().
| AbstractAction | ||
|
removeTrigger(trigger:IAction):void
Removes a trigger added with addTrigger().
| AbstractAction | ||
|
reverseChildOrder():void
Reverse the order that the children play back in.
| AbstractActionGroup | ||
|
Override start to automatically quit if there are no children.
| KSSequenceGroup | ||
|
stop():void
| AbstractActionGroup | ||
|
toString():String
| KSSequenceGroup | ||
|
unpause():void
Override unpause to see if the sequence was paused internally or externally.
| KSStepedSequenceGroup | ||
|
unregister():void
Removes the action as a listener to the Synchronizer's update event.
| AbstractAction | ||
|
Listens for updates to synchronize the start time of the sequence.
| KSSequenceGroup | ||
| Method | Defined by | ||
|---|---|---|---|
|
checkForComplete():Boolean
Checks to see if all of the children have completed.
| KSSequenceGroup | ||
|
complete():void
override to reset the _currentActionIndex.
| KSSequenceGroup | ||
|
forceUpdate():void
Foreces the update() method to fire without being triggered by Synchronizer.
| AbstractAction | ||
|
onChildFinished(event:KitchenSyncEvent):void
Override the onChildFinished handler to pause the sequence after each child completes.
| KSStepedSequenceGroup | ||
|
onChildStart(event:KitchenSyncEvent):void
Dispatches a CHILD_START event when the child begins.
| AbstractActionGroup | ||
|
onTrigger(event:Event):void
Handler that starts playing the action that is called by a trigger event.
| AbstractAction | ||
|
Starts playing the next action in the sequence.
| KSSequenceGroup | ||
| _waitingForInput | property |
protected var _waitingForInput:Boolean = falseUsed internally to determine whether the next item should play or whether the children should simply be unpaused when the unpause() method is called.
| KSStepedSequenceGroup | () | constructor |
public function KSStepedSequenceGroup(... children)Constructor. Identical to KSSequenceGroup.
Parameters... children — Optional children to add upon instantiation.
|
| onChildFinished | () | method |
protected override function onChildFinished(event:KitchenSyncEvent):voidOverride the onChildFinished handler to pause the sequence after each child completes.
Parametersevent:KitchenSyncEvent |
| unpause | () | method |
public override function unpause():voidOverride unpause to see if the sequence was paused internally or externally.