Table of Contents

Timer.new

Available since version: Gideros 2011.6

Description:

Creates a new Timer object with the specified delay and repeatCount states.

Syntax:

Timer.new(delay, repeatCount)

Parameters:

  • delay: The time interval between timer events in milliseconds.
  • repeatCount: (default = 0) The number of repetitions. A value of 0 runs the timer infinitely. If nonzero, the timer runs the specified number of times and then stops.