home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / AllienAttack.swf / scripts / frame_11 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  260 b   |  13 lines

  1. n = 0;
  2. presents = 0;
  3. while(Number(n) < 55)
  4. {
  5.    if(eval("f" add n) == 1)
  6.    {
  7.       setProperty("a" add n, _X, eval("x" add n));
  8.       setProperty("a" add n, _Y, eval("y" add n));
  9.       presents = Number(presents) + 1;
  10.    }
  11.    n = Number(n) + 1;
  12. }
  13.