home *** CD-ROM | disk | FTP | other *** search
- stop();
- trace("Granny Died");
- _root.Localizer.Localize("_root.GrannyDieMC.ui.ContinueButton.ButtonText","continue");
- _root.Localizer.Localize("_root.GrannyDieMC.ui.ContinueButton.ButtonTextShadow","continue");
- _root.Localizer.Localize("_root.GrannyDieMC.ui.GrannyFellText","grannyfell");
- _root.Localizer.Localize("_root.GrannyDieMC.ui.DieMessageText",_global.DieReason);
- var spaceListener = new Object();
- spaceListener.onKeyDown = function()
- {
- if(Key.isDown(32))
- {
- Key.removeListener(spaceListener);
- if(_global.IsGameOver == true)
- {
- _root.EndGame();
- }
- else
- {
- _root.PlayCurrentLevel();
- }
- }
- };
- Key.addListener(spaceListener);
- _root.GrannyDieMC.ui.ContinueButton.onGrannyButtonPress = function()
- {
- Key.removeListener(spaceListener);
- if(_global.IsGameOver == true)
- {
- _root.EndGame();
- }
- else
- {
- _root.PlayCurrentLevel();
- }
- };
-