AS2 CS4 - Multiple button clicks before action takes place

Hi. I am using cs4 and publishing using actionscript 2.

I have been searching around but cannot find a solution for this issue…

I have one button on the stage. As part of the actions for this button I want to count clicks, but there is more to it than that. There are actions based on the number of clicks a user makes. An example would be…

Click one - play a frame in a move clip

if there are no more clicks, reset the movie clip back to frame one

Two clicks in succession (with little pause). play a different frame in the move clip

if after double click there are no more clicks, reset the movie clip to frame one

Three clicks in succession (with little pause). play a different frame in the move clip

if after triple click there are no more clicks, reset the movie clip to frame one

Four clicks … and so on and so on

If anyone can upload an fla example of a button with these actions I would very much appreciate this.

Thanks