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

Package | org.apache.flex.utils
Class | public class Timer
Inheritance | Timer flash.utils.Timer

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The Timer class dispatches events based on a delay and repeat count.

Public Methods

| Method | Defined By
--- | --- | ---
|  | Timer(delay:Number, repeatCount:int = 0) Constructor. | Timer

Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | timer | Dispatched as requested via the delay and repeat count parameters in the constructor. | Timer

Public Constants

| Constant | Defined By
--- | --- | ---
|  | TIMER : String = timer [static] | Timer

Constructor Detail

Timer | () | Constructor

`public function Timer(delay:Number, repeatCount:int = 0)`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Constructor.

Parameters

| `delay:Number` — The number of milliseconds to wait before dispatching the event.
| `repeatCount:int` (default = `0`)`` — The number of times to dispatch the event. If 0, keep dispatching forever.

Event Detail

timer | Event

Event Object Type: `org.apache.flex.events.Event`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Dispatched as requested via the delay and repeat count parameters in the constructor.

Constant Detail

TIMER | Constant

`public static const TIMER:String = timer`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

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