Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
Sequence

Package | org.apache.flex.createjs.tween
Class | public class Sequence
Inheritance | Sequence Effect EventDispatcher flash.events.EventDispatcher
Implements | IDocument

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The Sequence effect plays a set of effects, one after the other.

Default MXML Property `tweens`

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | duration : Number = 1000 The duration of the effect, defaults to 1000 (1 second). | Effect
|  | easing : Function | Effect
|  | loop : Boolean = false Determines if the effect should loop continuously or not. | Effect
|  | target : String The name of the object upon which the effect is being made. | Effect
|  | tweens : Array | Sequence

Public Methods

| Method | Defined By
--- | --- | ---
|  | Sequence(target:Object = null) Constructor | Sequence
|  | addEffect(effect:Effect):void | Sequence
|  | internalEffect():IEffect | Sequence
|  | play():void [override] Causes the effects in the tween list to be played, one after the other. | Sequence
|  | setDocument(document:Object, id:String = null):void | Sequence

Property Detail

tweens | property

`tweens:Array`

Implementation
`public function get tweens():Array`
`public function set tweens(value:Array):void`
Constructor Detail

Sequence | () | Constructor

`public function Sequence(target:Object = null)`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Constructor

Parameters

| `target:Object` (default = `null`)``

Method Detail

addEffect | () | method

`public function addEffect(effect:Effect):void`

Parameters

| `effect:Effect`

internalEffect | () | method |

`public function internalEffect():IEffect`

Returns

| `IEffect`

play | () | method |

`override public function play():void`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Causes the effects in the tween list to be played, one after the other.

setDocument | () | method |

`public function setDocument(document:Object, id:String = null):void`

Parameters

| `document:Object`
| `id:String` (default = `null`)``

Mon Sep 5 2016, 07:19 AM -07:00