home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Esportes
/
CrossingCup.swf
/
scripts
/
__Packages
/
Application.as
next >
Wrap
Text File
|
2007-12-11
|
700b
|
23 lines
class Application
{
function Application(_mcroot)
{
SoundManager.ins().loadSounds();
EventCenter.access().addEventListener("resumeSite",this);
_global.__DISPATCH = Application._dispatchEventToController;
_global.AppStarted = true;
this.mcRoot = _mcroot;
FileManager.ins().loadList("teamdata.xml");
}
function resumeSite()
{
EventCenter.access().removeEventListener("resumeSite",this);
var _loc2_ = new CNavigationStateManager(this.mcRoot);
_loc2_.changeAppState(CNavigationStateManager.AS_INTRO);
}
static function _dispatchEventToController(o)
{
EventCenter.access()._dispatchEvent(o);
}
}