Skip to main content
May 13, 2014
Question

this code is not working for some reason

  • May 13, 2014
  • 3 replies
  • 501 views

function setBullet(evt:MouseEvent):void

  {

  bullet--;

  bulletsTxt.text = bullet.toString();

  if(bullet == 0)

  {

  gameTimer.addEventListener(TimerEvent.TIMER_COMPLETE,gameOver);

  }}

This topic has been closed for replies.

3 replies

Inspiring
May 13, 2014

Make sure that gameTimer is turned on by doing gameTimer.start()

Ned Murphy
Legend
May 13, 2014

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...

https://forums.adobe.com/thread/1473702

Ned Murphy
Legend
May 13, 2014

What should it be doing that it is not doing?