| Package | org.goasap.utils.customadvance |
| Class | public class OnEventComplete |
| Inheritance | OnEventComplete SequenceAdvance PlayableBase flash.events.EventDispatcher |
If the event requires filtering or custom handling, you can optionally set up a custom handler that accepts the event object as an input and returns true if all conditions are met for advancing the sequence.
| Method | Defined by | ||
|---|---|---|---|
|
OnEventComplete(dispatcher:IEventDispatcher, type:String, customHanderThatReturnsBoolean:Function = null)
| OnEventComplete | ||
![]() |
pause():Boolean
| SequenceAdvance | |
![]() |
resume():Boolean
| SequenceAdvance | |
![]() |
skipTo(position:Number):Boolean
| SequenceAdvance | |
|
start():Boolean
| OnEventComplete | ||
|
stop():Boolean
| OnEventComplete | ||
![]() |
toString():String
Appends the regular toString value with the instance's playableID.
| PlayableBase | |
| OnEventComplete | () | constructor |
public function OnEventComplete(dispatcher:IEventDispatcher, type:String, customHanderThatReturnsBoolean:Function = null)Parameters
dispatcher:IEventDispatcher — Any object that dispatches the event.
|
|
type:String — The event type to listen for
|
|
customHanderThatReturnsBoolean:Function (default = null) — Optionally you may specify a custom event handler which should
accept an event input and return true once all conditions are met.
|
| start | () | method |
public override function start():Boolean
Returns
Boolean |
| stop | () | method |
public override function stop():Boolean
Returns
Boolean |