getTimer()

Availability

Flash Lite 1.0.

Usage

getTimer()

Operands

None.

Description

Function; returns the number of milliseconds that elapsed since the SWF file started playing.

Example

The following example sets the timeElapsed variable to the number of milliseconds that elapsed since the SWF file started playing:

timeElapsed = getTimer();
trace (timeElapsed);// Output: milliseconds of time movie has been playing