Copy link to clipboard
Copied
function setBullet(evt:MouseEvent):void
{
bullet--;
bulletsTxt.text = bullet.toString();
if(bullet == 0)
{
gameTimer.addEventListener(TimerEvent.TIMER_COMPLETE,gameOver);
}}
Copy link to clipboard
Copied
What should it be doing that it is not doing?
Copy link to clipboard
Copied
You should contact the person who is posting the same kind of game problems in the Flash General forum and see if the two of you can work things out together. That person appears to have the same exact problem (and code) as you! Here is a link to the latest post by that person...
Copy link to clipboard
Copied
Make sure that gameTimer is turned on by doing gameTimer.start()
Find more inspiration, events, and resources on the new Adobe Community
Explore Now