An ActionScript metronome library