home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / MiniclipsTetris.swf / scripts / DefineSprite_185 / frame_5 / DoAction.as
Encoding:
Text File  |  2005-08-04  |  376 b   |  23 lines

  1. col = 0;
  2. row = 1;
  3. dir = "r";
  4. left = 1;
  5. top = 1;
  6. right = _parent.cols;
  7. bottom = _parent.rows;
  8. total = right * bottom + 2;
  9. count = 0;
  10. if(screenFilled < 1)
  11. {
  12.    screenFilled = 1;
  13.    brickType = 4;
  14.    time1 = int(getTimer() / 1000);
  15. }
  16. else
  17. {
  18.    screenFilled = 0;
  19.    brickType = 1;
  20. }
  21. running = true;
  22. this.gotoAndPlay("Type" add (int(Math.random() * 4) + 1));
  23.