Packageorg.goasap.utils.customadvance
Classpublic class SequenceAdvance
InheritanceSequenceAdvance Inheritance PlayableBase Inheritance flash.events.EventDispatcher
ImplementsIPlayable
SubclassesOnConditionTrue, OnDurationComplete, OnEventComplete, OnPlayableComplete

Base class for other custom advance types, does nothing on its own.

See also

OnConditionTrue
OnDurationComplete
OnEventComplete
OnPlayableComplete


Public Properties
 PropertyDefined by
 InheritedplayableID : *
An arbitrary id value for the convenient identification of any instance, automatically set to an instance count by this class.
PlayableBase
 Inheritedstate : String
Returns a PlayStates constant.
PlayableBase
Protected Properties
 PropertyDefined by
 Inherited_playRetainer : Dictionary
[static] Memory-management: playable items that do not add themselves to GoEngine should use this property to store references to themselves during play.
PlayableBase
Public Methods
 MethodDefined by
  
SequenceAdvance
  
pause():Boolean
SequenceAdvance
  
resume():Boolean
SequenceAdvance
  
skipTo(position:Number):Boolean
SequenceAdvance
  
start():Boolean
SequenceAdvance
  
stop():Boolean
SequenceAdvance
 Inherited
toString():String
Appends the regular toString value with the instance's playableID.
PlayableBase
Events
 EventSummaryDefined by
   Subclasses should call the dispatchAdvance method when the sequence should advance to its next step.SequenceAdvance
Constructor detail
SequenceAdvance()constructor
public function SequenceAdvance()
Method detail
pause()method
public function pause():Boolean

Returns
Boolean
resume()method 
public function resume():Boolean

Returns
Boolean
skipTo()method 
public function skipTo(position:Number):BooleanParameters
position:Number

Returns
Boolean
start()method 
public function start():Boolean

Returns
Boolean
stop()method 
public function stop():Boolean

Returns
Boolean
Event detail
ADVANCEevent 
Event object type: org.goasap.events.SequenceEvent
SequenceEvent.type property = org.goasap.events.SequenceEvent.ADVANCE

Subclasses should call the dispatchAdvance method when the sequence should advance to its next step. It is mandatory that custom advance types dispatch this event one time, although each class may define its own conditions for when this event occurs.