On click do this

i’m making a simple game in which you shoot a target by clicking on it with the mouse, but i want there to be a limited number of shots,

so i have a dynamic text box with a var of bullets, i’m trying to write some AS so that when ever the user clicks anywhere inside of the movie, it subtracts one from the number of bullets left.