| Package | org.goasap.utils.customadvance |
| Class | public class OnConditionTrue |
| Inheritance | OnConditionTrue SequenceAdvance PlayableBase flash.events.EventDispatcher |
| Implements | IUpdatable |
| Property | Defined by | ||
|---|---|---|---|
![]() | playableID : *
An arbitrary id value for the convenient identification of any
instance, automatically set to an instance count by this class.
| PlayableBase | |
| pulseInterval : int [read-only]
The pulse on which to call the callback function.
| OnConditionTrue | ||
![]() | state : String
Returns a PlayStates constant.
| PlayableBase | |
| Method | Defined by | ||
|---|---|---|---|
|
OnConditionTrue(callbackThatReturnsBoolean:Function, pulseInterval:Number)
| OnConditionTrue | ||
|
pause():Boolean
| OnConditionTrue | ||
|
resume():Boolean
| OnConditionTrue | ||
![]() |
skipTo(position:Number):Boolean
| SequenceAdvance | |
|
start():Boolean
| OnConditionTrue | ||
|
stop():Boolean
| OnConditionTrue | ||
![]() |
toString():String
Appends the regular toString value with the instance's playableID.
| PlayableBase | |
|
update(currentTime:Number):void
| OnConditionTrue | ||
| pulseInterval | property |
pulseInterval:int [read-only]The pulse on which to call the callback function. Defaults to GoItem.defaultPulseInterval if not specified.
Implementation public function get pulseInterval():int
| OnConditionTrue | () | constructor |
public function OnConditionTrue(callbackThatReturnsBoolean:Function, pulseInterval:Number)Parameters
callbackThatReturnsBoolean:Function — Any function that returns a Boolean value
|
|
pulseInterval:Number — The pulse on which to call the callback function, which defaults to
GoItem.defaultPulseInterval if not specified.
|
| pause | () | method |
public override function pause():Boolean
Returns
Boolean |
| resume | () | method |
public override function resume():Boolean
Returns
Boolean |
| start | () | method |
public override function start():Boolean
Returns
Boolean |
| stop | () | method |
public override function stop():Boolean
Returns
Boolean |
| update | () | method |
public function update(currentTime:Number):voidParameters
currentTime:Number |