| Package | flare.animate |
| Class | public class Sequence |
| Inheritance | Sequence Transition flash.events.EventDispatcher |
| Subclasses | FunctionSequence |
| Property | Defined by | ||
|---|---|---|---|
| autoDuration : Boolean
If true, the duration of this sequence is automatically determined
by the durations of each sub-transition.
| Sequence | ||
![]() | DEFAULT_EASING : Function [static] Default easing function: a cubic slow-in slow-out.
| Transition | |
![]() | delay : Number The delay between a call to play and the actual start
of the transition, in seconds.
| Transition | |
| duration : Number The duration (length) of this Transition, in seconds.
| Sequence | ||
![]() | easing : Function Easing function used to pace this Transition.
| Transition | |
![]() | enabled : Boolean = true Flag indicating if step events should be processed.
| Transition | |
![]() | id : String A unique name identifying this schedulable object.
| Transition | |
![]() | progress : Number Fraction between 0 and 1 indicating the current progress
of this transition.
| Transition | |
![]() | reverse : Boolean Indicates if this Transition is running in reverse.
| Transition | |
![]() | running : Boolean Indicates if this Transition is currently running.
| Transition | |
![]() | totalDuration : Number The total duration, including both delay and active duration.
| Transition | |
| Property | Defined by | ||
|---|---|---|---|
![]() | _reverse : Boolean = false Flag indicating this Transition is running in reverse.
| Transition | |
![]() | _running : Boolean = false Flag indicating this Transition is currently running.
| Transition | |
| _trans : Array Array of sequential transitions
| Sequence | ||
| Method | Defined by | ||
|---|---|---|---|
|
Sequence(... transitions)
Creates a new Sequence transition.
| Sequence | ||
|
add(t:Transition):void
Adds a new transition to the end of this sequence.
| Sequence | ||
![]() |
cancelled():void
Informs this transition that it was cancelled by the scheduler.
| Transition | |
|
dispose():void
Disposes of this transition, freeing up any resources held.
| Sequence | ||
![]() |
evaluate(time:Number):Boolean
Evaluates the Transition, stepping the transition forward.
| Transition | |
![]() |
pause():void
Pauses the transition at its current position.
| Transition | |
|
play(reverse:Boolean = false):void
Starts running the transition.
| Sequence | ||
|
remove(t:Transition):Boolean
Removes a sub-transition from this sequence.
| Sequence | ||
![]() |
reset():void
Resets the transition, so that any cached starting values are
cleared and reset the next time this transition is played.
| Transition | |
|
step(ef:Number):void
Steps this sequence transition, ensuring that any sub-transitions
between the previous and current progress fraction are properly
invoked.
| Sequence | ||
![]() |
stop():void
Stops the transition and completes it.
| Transition | |
| Method | Defined by | ||
|---|---|---|---|
|
computeDuration():void
Computes the duration of this sequence transition.
| Sequence | ||
|
end():void
Ends this sequence transition, ending the last transition to be
played in the sequence as necessary.
| Sequence | ||
|
setup():void
Sets up each sub-transition.
| Sequence | ||
|
start():void
Starts this sequence transition, starting the first sub-transition
to be played.
| Sequence | ||
| autoDuration | property |
autoDuration:Boolean [read-write]If true, the duration of this sequence is automatically determined by the durations of each sub-transition. This is the default behavior.
Implementation public function get autoDuration():Boolean
public function set autoDuration(value:Boolean):void
| duration | property |
duration:Number [read-write]The duration (length) of this Transition, in seconds.
Implementation public function get duration():Number
public function set duration(value:Number):void
| _trans | property |
protected var _trans:ArrayArray of sequential transitions
| Sequence | () | constructor |
public function Sequence(... transitions)Creates a new Sequence transition.
Parameters... transitions — an ordered list of sub-transitions
|
| add | () | method |
public function add(t:Transition):voidAdds a new transition to the end of this sequence.
Parameterst:Transition — the transition to add
|
| computeDuration | () | method |
protected function computeDuration():voidComputes the duration of this sequence transition.
| dispose | () | method |
public override function dispose():voidDisposes of this transition, freeing up any resources held. This method is optional, but calling it when a transition is no longer needed can help improve overall performance.
| end | () | method |
protected override function end():voidEnds this sequence transition, ending the last transition to be played in the sequence as necessary.
| play | () | method |
public override function play(reverse:Boolean = false):voidStarts running the transition.
Parametersreverse:Boolean (default = false) — if true, the transition is played in reverse,
if false (the default), it is played normally.
|
| remove | () | method |
public function remove(t:Transition):BooleanRemoves a sub-transition from this sequence.
Parameterst:Transition — the transition to remove
|
Boolean — true if the transition was found and removed, false
otherwise
|
| setup | () | method |
protected override function setup():voidSets up each sub-transition.
| start | () | method |
protected override function start():voidStarts this sequence transition, starting the first sub-transition to be played.
| step | () | method |
public override function step(ef:Number):voidSteps this sequence transition, ensuring that any sub-transitions between the previous and current progress fraction are properly invoked.
Parametersef:Number — the current progress fraction.
|