home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / neko_juppiki.swf / scripts / DefineSprite_84 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  603 b   |  31 lines

  1. function initStage()
  2. {
  3.    this.neko_mc_list = [];
  4.    this.gotoAndPlay("stage" + String(_parent.stage_num));
  5.    this.txt1 = "stage " + _parent.stage_num;
  6.    this.neko_end_cnt = 0;
  7.    this.neko_goal_cnt = 0;
  8. }
  9. function gameStart()
  10. {
  11.    i = 1;
  12.    while(i <= 10)
  13.    {
  14.       this["mc_neko" + i].entryStartRun();
  15.       i++;
  16.    }
  17. }
  18. function start_timer()
  19. {
  20.    var _loc2_ = new Date();
  21.    this.start_ms = _loc2_.getTime();
  22. }
  23. function get_past_time()
  24. {
  25.    var _loc3_ = new Date();
  26.    var _loc2_ = _loc3_.getTime() - this.start_ms;
  27.    return _loc2_;
  28. }
  29. this.initStage();
  30. this.stop();
  31.