So I have a timer in game. When you swat 10 mosquitos, I have it set to where the timer resets, and goes back to 45. Then you have to swat 15, then 20, etc etc
If you run out of time, then it's supposed to make a buzzing sound.
ActionScript Code:
if (_timer.currentCount == 0)
{_buzz.play();}
but for some reason, every time I
when I hit 10 mosquitos, or 15, or whatever level I'm on, it plays the buzz sound clip.
How do I bypass the timer from resetting to 0 first, then 45?
The timer is set in a text field that displays the timer counting down.
Thanks!