Packagecom.desuade.motion.sequences
Classpublic dynamic class ClassSequence
InheritanceClassSequence Inheritance Sequence Inheritance Object

Language Version : ActionScript 3
Since : 29.07.2009
Runtime Versions : AIR 1.0, Flash Player 9.0.0

A Sequence that uses a single class and config objects to create a sequence.



Public Properties
 PropertyDefined By
 Inheritedactive : Boolean
[read-only] If the Seqeuence is currently running.
Sequence
 Inheritedcurrent : Object
[read-only] The current motion object that's running.
Sequence
  duration : Number
[read-only] This gets the total duration ONLY if the motionClass is a form of tween.
ClassSequence
 InheritedmanualAdvance : Boolean
If set to true, the sequence will not add a listener, and will not advance the sequence until advance() is called.
Sequence
  motionClass : Class
This is the class to use in creating the sequence.
ClassSequence
  overrides : Object
An Object that represents a normal Sequence object, that contains properties to be applied to every object in the Sequence. For example: seq.overrides = {duration:3, ease:'linear'} will assign all the tweens in the sequence their 'duration' and 'ease' values to the given values in the overrides object.
ClassSequence
 Inheritedposition : int
[read-only] The current position of the Seqeuence.
Sequence
Public Methods
 MethodDefined By
  
ClassSequence(motionClass:Class, ... args)
This is a Sequence that only uses one class to create sequence items. All Config Objects passed in after the motionClass parametere will be added to the sequence.
ClassSequence
 Inherited
advance(i:Object = null):void
This advances the currently playing sequence. This happens automatically unless manualAdvance = true
Sequence
  
This gets the current position in time out of the entire duration ONLY if the motionClass is a form of tween.
ClassSequence
 Inherited
pushArray(array:Array):Sequence
Takes all the items in an Array and pushes them into the Sequence.
Sequence
 Inherited
start(position:int = 0):*
Starts the Seqeuence from the specified position, or the beginning if no position is specified.
Sequence
  
startAtTime(time:Number):void
This allows you start at any point in time of the sequence ONLY if the motionClass is a form of tween.
ClassSequence
 Inherited
stop():void
Stops the Sequence.
Sequence
Property Detail
durationproperty
duration:Number  [read-only]

This gets the total duration ONLY if the motionClass is a form of tween.


Implementation
    public function get duration():Number
motionClassproperty 
motionClass:Class

This is the class to use in creating the sequence.


Implementation
    public function get motionClass():Class
    public function set motionClass(value:Class):void
overridesproperty 
overrides:Object

An Object that represents a normal Sequence object, that contains properties to be applied to every object in the Sequence.

For example: seq.overrides = {duration:3, ease:'linear'} will assign all the tweens in the sequence their 'duration' and 'ease' values to the given values in the overrides object.


Implementation
    public function get overrides():Object
    public function set overrides(value:Object):void
Constructor Detail
ClassSequence()Constructor
public function ClassSequence(motionClass:Class, ... args)

This is a Sequence that only uses one class to create sequence items.

All Config Objects passed in after the motionClass parametere will be added to the sequence.

Parameters
motionClass:Class — The class to use in creating the sequence
 
... args
Method Detail
getPositionInTime()method
public function getPositionInTime():Number

This gets the current position in time out of the entire duration ONLY if the motionClass is a form of tween.

Returns
Number
startAtTime()method 
public function startAtTime(time:Number):void

This allows you start at any point in time of the sequence ONLY if the motionClass is a form of tween.

Parameters

time:Number — The time to position the sequence in.