home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Esportes
/
CrossingCup.swf
/
scripts
/
__Packages
/
CContinueGameScreen1.as
< prev
next >
Wrap
Text File
|
2007-12-11
|
3KB
|
91 lines
class CContinueGameScreen1 extends CContinueGameScreen
{
function CContinueGameScreen1()
{
super();
if(_global.AppStarted == undefined)
{
return undefined;
}
this.sbar.horz = false;
if(CTournament.ins().tournamentPhase < 4 && CTournament.ins().tournamentPhase > -1)
{
this.mcPlayoff._visible = false;
this.bt1._visible = false;
this.txPlayoff._visible = false;
}
else
{
this.mcPlayoff._visible = true;
this.bt1._visible = true;
this.txPlayoff._visible = true;
if(CTournament.ins().gameover)
{
this.txPlayoff.text = "Playoff Result";
}
else
{
this.txPlayoff.text = "Playoff Schedule";
}
}
this.bt1.onRelease = function()
{
_global.__DISPATCH({type:"menuAccess",name:"ContinueGame2"});
};
}
function CreateList()
{
var _loc5_ = false;
var _loc4_ = 0;
while(_loc4_ < 8)
{
var _loc2_ = this.ListGroup.addThumb({identifier:"tgroup",height:-1});
if(_loc5_)
{
_loc2_.gotoAndStop(2);
}
_loc5_ = !_loc5_;
_loc2_.groupname = this.GroupName[_loc4_];
var _loc3_ = CTournament.ins().getTournamentGroupData(_loc4_);
_loc2_.marker._visible = false;
_loc2_.nat1 = _loc3_.nat1;
_loc2_.nat2 = _loc3_.nat2;
_loc2_.nat3 = _loc3_.nat3;
_loc2_.nat4 = _loc3_.nat4;
_loc2_.a1 = _loc3_.a1;
_loc2_.a2 = _loc3_.a2;
_loc2_.b1 = _loc3_.b1;
_loc2_.b2 = _loc3_.b2;
_loc2_.c1 = _loc3_.c1;
_loc2_.c2 = _loc3_.c2;
_loc2_.d1 = _loc3_.d1;
_loc2_.d2 = _loc3_.d2;
_loc2_.e1 = _loc3_.e1;
_loc2_.e2 = _loc3_.e2;
_loc2_.f1 = _loc3_.f1;
_loc2_.f2 = _loc3_.f2;
_loc2_.win1 = _loc3_.win1;
_loc2_.w1 = _loc3_.w1;
_loc2_.t1 = _loc3_.t1;
_loc2_.l1 = _loc3_.l1;
_loc2_.p1 = _loc3_.p1;
_loc2_.win2 = _loc3_.win2;
_loc2_.w2 = _loc3_.w2;
_loc2_.t2 = _loc3_.t2;
_loc2_.l2 = _loc3_.l2;
_loc2_.p2 = _loc3_.p2;
_loc2_.win3 = _loc3_.win3;
_loc2_.w3 = _loc3_.w3;
_loc2_.t3 = _loc3_.t3;
_loc2_.l3 = _loc3_.l3;
_loc2_.p3 = _loc3_.p3;
_loc2_.win4 = _loc3_.win4;
_loc2_.w4 = _loc3_.w4;
_loc2_.t4 = _loc3_.t4;
_loc2_.l4 = _loc3_.l4;
_loc2_.p4 = _loc3_.p4;
_loc4_ = _loc4_ + 1;
}
}
}