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

Package | org.apache.flex.core
Interface | public interface IEffectTimer extends IEventDispatcher, flash.events.IEventDispatcher
Implementors | EffectTimer

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The IEffectTimer interface is the basic interface for the class that updates effects like tweens. Different IEffectTimer implementations are tuned for various runtime environments like mobile, Flash, desktop, or even automated testing where the currentTime is controlled so the animation updates its target at predictable positions on the screen.

Public Methods

| Method | Defined By
--- | --- | ---
|  | start():int Start getting update events. | IEffectTimer
|  | stop():void Stop getting update events. | IEffectTimer

Method Detail

start | () | method

`public function start():int`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Start getting update events.

Returns

| `int` — The current time.

stop | () | method |

`public function stop():void`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Stop getting update events. Current time should theoretically keep advancing, but events are not dispatched so most implementations stop the platform timer (which can save battery on mobile devices) because they know that when start() is called they have a way of getting the updated current time.

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