Help Programing a paintball BPS meter

i wanted to make a flash document , that when i try to click my mouse 1 as fast as i can on a button, it will measure how many mouse1 cliks per second , and display the mouseclicks/second in the corner , i was wondering how to do this , i am the noobiest noob at flash programming ever

thanks alot guys