home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Esportes / CrossingCup.swf / scripts / __Packages / CContinueGameScreen1.as < prev    next >
Text File  |  2007-12-11  |  3KB  |  91 lines

  1. class CContinueGameScreen1 extends CContinueGameScreen
  2. {
  3.    function CContinueGameScreen1()
  4.    {
  5.       super();
  6.       if(_global.AppStarted == undefined)
  7.       {
  8.          return undefined;
  9.       }
  10.       this.sbar.horz = false;
  11.       if(CTournament.ins().tournamentPhase < 4 && CTournament.ins().tournamentPhase > -1)
  12.       {
  13.          this.mcPlayoff._visible = false;
  14.          this.bt1._visible = false;
  15.          this.txPlayoff._visible = false;
  16.       }
  17.       else
  18.       {
  19.          this.mcPlayoff._visible = true;
  20.          this.bt1._visible = true;
  21.          this.txPlayoff._visible = true;
  22.          if(CTournament.ins().gameover)
  23.          {
  24.             this.txPlayoff.text = "Playoff Result";
  25.          }
  26.          else
  27.          {
  28.             this.txPlayoff.text = "Playoff Schedule";
  29.          }
  30.       }
  31.       this.bt1.onRelease = function()
  32.       {
  33.          _global.__DISPATCH({type:"menuAccess",name:"ContinueGame2"});
  34.       };
  35.    }
  36.    function CreateList()
  37.    {
  38.       var _loc5_ = false;
  39.       var _loc4_ = 0;
  40.       while(_loc4_ < 8)
  41.       {
  42.          var _loc2_ = this.ListGroup.addThumb({identifier:"tgroup",height:-1});
  43.          if(_loc5_)
  44.          {
  45.             _loc2_.gotoAndStop(2);
  46.          }
  47.          _loc5_ = !_loc5_;
  48.          _loc2_.groupname = this.GroupName[_loc4_];
  49.          var _loc3_ = CTournament.ins().getTournamentGroupData(_loc4_);
  50.          _loc2_.marker._visible = false;
  51.          _loc2_.nat1 = _loc3_.nat1;
  52.          _loc2_.nat2 = _loc3_.nat2;
  53.          _loc2_.nat3 = _loc3_.nat3;
  54.          _loc2_.nat4 = _loc3_.nat4;
  55.          _loc2_.a1 = _loc3_.a1;
  56.          _loc2_.a2 = _loc3_.a2;
  57.          _loc2_.b1 = _loc3_.b1;
  58.          _loc2_.b2 = _loc3_.b2;
  59.          _loc2_.c1 = _loc3_.c1;
  60.          _loc2_.c2 = _loc3_.c2;
  61.          _loc2_.d1 = _loc3_.d1;
  62.          _loc2_.d2 = _loc3_.d2;
  63.          _loc2_.e1 = _loc3_.e1;
  64.          _loc2_.e2 = _loc3_.e2;
  65.          _loc2_.f1 = _loc3_.f1;
  66.          _loc2_.f2 = _loc3_.f2;
  67.          _loc2_.win1 = _loc3_.win1;
  68.          _loc2_.w1 = _loc3_.w1;
  69.          _loc2_.t1 = _loc3_.t1;
  70.          _loc2_.l1 = _loc3_.l1;
  71.          _loc2_.p1 = _loc3_.p1;
  72.          _loc2_.win2 = _loc3_.win2;
  73.          _loc2_.w2 = _loc3_.w2;
  74.          _loc2_.t2 = _loc3_.t2;
  75.          _loc2_.l2 = _loc3_.l2;
  76.          _loc2_.p2 = _loc3_.p2;
  77.          _loc2_.win3 = _loc3_.win3;
  78.          _loc2_.w3 = _loc3_.w3;
  79.          _loc2_.t3 = _loc3_.t3;
  80.          _loc2_.l3 = _loc3_.l3;
  81.          _loc2_.p3 = _loc3_.p3;
  82.          _loc2_.win4 = _loc3_.win4;
  83.          _loc2_.w4 = _loc3_.w4;
  84.          _loc2_.t4 = _loc3_.t4;
  85.          _loc2_.l4 = _loc3_.l4;
  86.          _loc2_.p4 = _loc3_.p4;
  87.          _loc4_ = _loc4_ + 1;
  88.       }
  89.    }
  90. }
  91.