home *** CD-ROM | disk | FTP | other *** search
/ 200 Game / 200GAME2.iso / FLASHGAME / COCKROACH.EXE / scripts / frame_3 / DoAction.as
Encoding:
Text File  |  2000-06-10  |  347 b   |  20 lines

  1. Right = "0";
  2. Score = "0";
  3. i = "1";
  4. while(i < "6")
  5. {
  6.    setProperty("Dish" add i, _visible, "0");
  7.    setProperty("Cockroach" add i, _visible, "0");
  8.    tellTarget("/Cockroach" add i)
  9.    {
  10.       stop();
  11.    }
  12.    i += "1";
  13. }
  14. tellTarget("/Time")
  15. {
  16.    gotoAndPlay(1);
  17. }
  18. setProperty("/Target", _visible, "1");
  19. startDrag("/Target","1");
  20.