home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / LunarLander.swf / scripts / DefineSprite_45 / frame_1 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  189 b   |  10 lines

  1. function test()
  2. {
  3.    if(this.hitTest(_root.lander.ship) && _visible != false)
  4.    {
  5.       _root.lander.fuel += 200;
  6.       _root.lander.score += 1000;
  7.       _visible = false;
  8.    }
  9. }
  10.