Metronome is an ActionScript library delivering more accuracy in the scheduling of time-based events than the native Timer object. You can use it as a music metronome or just as a precise way to schedule recurring events.
Home and examples : http://cote.cc/projects/metronome
API Reference: http://cote.cc/w/wp-content/uploads/projects/metronome/doc/