home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / bee_war.swf / scripts / DefineSprite_291 / frame_11 / DoAction.as
Encoding:
Text File  |  2002-02-08  |  370 b   |  19 lines

  1. qq_x = getProperty("/qq", _X);
  2. qq_width = getProperty("/qq", _width) / 2 - 10;
  3. if(qq_x - qq_width < my_x and my_x < qq_x + qq_width)
  4. {
  5.    if(eval("/:hit") == 1)
  6.    {
  7.       tellTarget("/qq")
  8.       {
  9.          gotoAndStop("hit_qq");
  10.          play();
  11.       }
  12.       tellTarget("/qq_time")
  13.       {
  14.          nextFrame();
  15.       }
  16.       gotoAndPlay(14);
  17.    }
  18. }
  19.