Timer.ticks()
Top  Previous  Next


Syntax
Timer.ticks

Arguments
None.

Returns
Milliseconds since the Movie started.

Description
Function: Returns the number of milliseconds that have elapsed since the Movie started playing.
Can be used to provide accurate timing between Events that are not dependent on the Frame Rate.

Sample
onFrame (20
{
  trace (Timer.ticks());   // displays number around 1025 (frame rate was 20 fps)
}