Package | com.desuade.motion.sequences |
Class | public dynamic class ClassSequence |
Inheritance | ClassSequence ![]() ![]() |
Language Version : | ActionScript 3 |
Since : | 29.07.2009 |
Runtime Versions : | AIR 1.0, Flash Player 9.0.0 |
Property | Defined By | ||
---|---|---|---|
![]() | active : Boolean [read-only]
If the Seqeuence is currently running. | Sequence | |
![]() | current : 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 | ||
![]() | manualAdvance : 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 | ||
![]() | position : int [read-only]
The current position of the Seqeuence. | Sequence |
Method | Defined 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 | ||
![]() | advance(i:Object = null):void
This advances the currently playing sequence.
This happens automatically unless manualAdvance = true
| Sequence | |
getPositionInTime():Number
This gets the current position in time out of the entire duration ONLY if the motionClass is a form of tween. | ClassSequence | ||
![]() |
Takes all the items in an Array and pushes them into the Sequence. | Sequence | |
![]() | 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 | ||
![]() | stop():void
Stops the Sequence. | Sequence |
duration | property |
duration:Number
[read-only] This gets the total duration ONLY if the motionClass is a form of tween.
public function get duration():Number
motionClass | property |
motionClass:Class
This is the class to use in creating the sequence.
public function get motionClass():Class
public function set motionClass(value:Class):void
overrides | property |
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.
public function get overrides():Object
public function set overrides(value:Object):void
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.
ParametersmotionClass:Class — The class to use in creating the sequence
| |
... args |
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.
ReturnsNumber |
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.
|