| Package | org.as3lib.kitchensync.action |
| Class | public class KSRandomGroup |
| Inheritance | KSRandomGroup |
| Method | Defined by | ||
|---|---|---|---|
|
KSRandomGroup(... children)
| KSRandomGroup | ||
|
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
| AbstractActionGroup | ||
|
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 | ||
| KSRandomGroup | |||
|
onChildFinished(event:KitchenSyncEvent):void
Called when child actions are completed.
| KSSequenceGroup | ||
|
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 | ||
| KSRandomGroup | |||