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.
only when the mouse is pressed on the target, like if you click on the target mc, it would subtract a bullet, and play frame 2, where it has an x on it, then dissapear…
okay, i think i almost understand
i posted a revised fla, when you click the target you lose a bullet, and gain a point, but even if you click something out side of the target, you still gain a point