Hi, I know this doesnt belong here, but i tried it in the actionscript forum and i didnt get any replys, im hoping someone here could help me!

Ok, my music teacher says i need a mertonome to help me keep time when im playing, after looking around i found they are too expensive, so i thought i could make one on flash

i need to know, how to make the pendulm thing swing, and when it gets to the certain point it ticks

i also need to know the script which will attach the speed to a slider.

If you can help me, please please help me, my music depends on it

Thanx