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

  1. row = 1;
  2. while(_parent.rows >= row)
  3. {
  4.    eval("_parent.Box" + left + "_" + row).gotoAndStop(brickType);
  5.    eval("_parent.Box" + left + "_" + row).filled = false;
  6.    eval("_parent.Box" + right + "_" + row).gotoAndStop(brickType);
  7.    eval("_parent.Box" + right + "_" + row).filled = false;
  8.    row++;
  9. }
  10. left++;
  11. right--;
  12. if(left >= right)
  13. {
  14.    if(!screenFilled)
  15.    {
  16.       _parent.showTitle();
  17.    }
  18.    gotoAndStop(1);
  19. }
  20.