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

  1. tellTarget("Score3Num")
  2. {
  3.    gotoAndStop(int(eval("/:Score") / "100") + "1");
  4. }
  5. tellTarget("Score2Num")
  6. {
  7.    gotoAndStop(int(eval("/:Score") / "10") - int(eval("/:Score") / "100") * "10" + "1");
  8. }
  9. tellTarget("Score1Num")
  10. {
  11.    gotoAndStop(eval("/:Score") - int(eval("/:Score") / "10") * "10" + "1");
  12. }
  13.