home *** CD-ROM | disk | FTP | other *** search
- package
- {
- import Code.LIB.SOUND._wj196;
- import Code.LIB._lx496;
- import Code.LIB._nd174;
- import Code.OPTIONS.LANGUAGES._bw341;
- import Code.OPTIONS._dx111;
- import Code.WINDOWS.DIALOGS._dt399;
- import Code.WINDOWS.DIALOGS._tq266;
- import Code.WINDOWS._bk427;
- import Code.WINDOWS._ee454;
- import Code.WINDOWS._gk231;
- import Code.WINDOWS._lo294;
- import Code.WINDOWS._ty404;
- import Code.WINDOWS._ur27;
- import flash.events.Event;
-
- public class _em360 extends _lx496
- {
-
-
- public function _em360()
- {
- super();
- _dx111.iLanguage = new _bw341();
- menuItem = _dx111.miSplashScreen;
- this.onResize(new Event("onresize"));
- this._dk329();
- }
-
- override public function onEnterFrame(param1:Event) : void
- {
- super.onEnterFrame(param1);
- if(this.iWindow != null)
- {
- if(!iWindow._rm382)
- {
- iWindow._fy281();
- this.removeChild(iWindow);
- this.iWindow = null;
- this._dk329();
- }
- }
- }
-
- override public function _dk329() : void
- {
- switch(menuItem)
- {
- case _dx111.miSplashScreen:
- this.iWindow = new _bk427();
- this.addChild(iWindow);
- if(!_nd174._ai238)
- {
- this.menuItem = _dx111.miEnterName;
- }
- else
- {
- menuItem = _dx111.miMenu;
- }
- break;
- case _dx111.miLanguage:
- this.iWindow = new _ty404();
- this.addChild(iWindow);
- if(!_nd174._ai238)
- {
- this.menuItem = _dx111.miEnterName;
- }
- else
- {
- menuItem = _dx111.miMenu;
- }
- break;
- case _dx111.miEnterName:
- this.iWindow = new _dt399(true);
- this.addChild(iWindow);
- this.menuItem = _dx111.miMenu;
- break;
- case _dx111.miMenu:
- this.iWindow = new _ee454();
- this.addChild(iWindow);
- break;
- case _dx111.miHowToPlay:
- this.iWindow = new _ur27();
- this.menuItem = _dx111.miGame;
- this.addChild(iWindow);
- break;
- case _dx111.miGame:
- this.iWindow = new _gk231();
- this.menuItem = _dx111.miMenu;
- this.addChild(iWindow);
- break;
- case _dx111.miChoosePlayer:
- this.iWindow = new _lo294();
- this.addChild(iWindow);
- this.menuItem = _dx111.miMenu;
- break;
- case _dx111.miOptions:
- this.iWindow = new _tq266();
- this.addChild(iWindow);
- this.menuItem = _dx111.miMenu;
- break;
- case _dx111.miInstructions:
- this.iWindow = new _ur27();
- this.menuItem = _dx111.miMenu;
- this.addChild(iWindow);
- }
- addChild(speakerMount);
- addChild(_wj196.iSound);
- addChild(_wj196.iMusic);
- }
- }
- }
-