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

Package | org.apache.flex.effects
Interface | public interface IEffect extends IEventDispatcher, flash.events.IEventDispatcher
Implementors | Effect

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

IEffect is the lowest-level interface for effects in FlexJS.

Public Properties

| Property | Defined By
--- | --- | ---
|  | duration : Number Duration of the animation, in milliseconds. | IEffect

Public Methods

| Method | Defined By
--- | --- | ---
|  | captureEndValues():void Tries to compute final values for effect | IEffect
|  | captureStartValues():void Tries to compute initial values for effect | IEffect
|  | pause():void Pauses the effect until you call the resume() method. | IEffect
|  | play():void Stops the tween, ending it without dispatching an event or calling the Tween's endFunction or onTweenEnd(). | IEffect
|  | resume():void Resumes the effect after it has been paused by a call to the pause() method. | IEffect
|  | reverse():void Plays the effect in reverse, starting from the current position of the effect. | IEffect
|  | stop():void Stops the tween, ending it without dispatching an event or calling the Tween's endFunction or onTweenEnd(). | IEffect

Property Detail

duration | property

`duration:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Duration of the animation, in milliseconds.

Implementation
`public function get duration():Number`
`public function set duration(value:Number):void`
Method Detail

captureEndValues | () | method

`public function captureEndValues():void`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Tries to compute final values for effect

captureStartValues | () | method |

`public function captureStartValues():void`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Tries to compute initial values for effect

pause | () | method |

`public function pause():void`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Pauses the effect until you call the `resume()` method.

play | () | method |

`public function play():void`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Stops the tween, ending it without dispatching an event or calling the Tween's endFunction or `onTweenEnd()`.

resume | () | method |

`public function resume():void`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Resumes the effect after it has been paused by a call to the `pause()` method.

reverse | () | method |

`public function reverse():void`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Plays the effect in reverse, starting from the current position of the effect.

stop | () | method |

`public function stop():void`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Stops the tween, ending it without dispatching an event or calling the Tween's endFunction or `onTweenEnd()`.

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