home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Esportes
/
CrossingCup.swf
/
scripts
/
__Packages
/
CContinueGameScreen.as
< prev
next >
Wrap
Text File
|
2007-12-11
|
1KB
|
47 lines
class CContinueGameScreen extends CScreen
{
var GroupName = new Array("Group A","Group B","Group C","Group D","Group E","Group F","Group G","Group H");
function CContinueGameScreen(tipeview)
{
super();
if(_global.AppStarted == undefined)
{
return undefined;
}
this.txTournamentStatus.text = CTournament.ins().getToutnamentStatus();
var _loc4_ = CTeamManager.ins().currentTeam;
this.mcflag.toid = _loc4_.flagid;
this.mcflag.setFlag(_loc4_.flagid);
this.txTeamName.text = _loc4_.teamname + " - " + this.GroupName[_loc4_.group];
this.ctr = 0;
this.onEnterFrame = function()
{
if(this.ctr > 1)
{
this.onEnterFrame = null;
this.CreateList();
}
this.ctr = this.ctr + 1;
};
if(CTournament.ins().gameover)
{
this.txBtc.text = "END";
this.Btc.onRelease = function()
{
_global.__DISPATCH({type:"endScreen",name:this._parent._name,tonew:true});
};
}
else
{
this.txBtc.text = "Continue";
this.Btc.onRelease = function()
{
_global.__DISPATCH({type:"endScreen",name:this._parent._name,tonew:false});
};
}
}
function CreateList()
{
}
}