home *** CD-ROM | disk | FTP | other *** search
- var §\x01§ = 495;
- while(true)
- {
- if(eval("\x01") == 495)
- {
- set("\x01",eval("\x01") + 457);
- §§push(true);
- }
- else
- {
- if(eval("\x01") != 952)
- {
- break;
- }
- set("\x01",eval("\x01") - 32);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 65);
- }
- }
- }
- if(eval("\x01") == 920)
- {
- set("\x01",eval("\x01") + 65);
- }
- else if(eval("\x01") == 985)
- {
- set("\x01",eval("\x01") - 260);
- this._name = "pupWindows";
- animStyle = "easeincubic";
- animStyle = "easeinoutquad";
- animDuration = 0.5;
- windowButtons = [];
- windowTextStyleSheet = new TextField.StyleSheet();
- windowTextStyleSheet.setStyle(".body",{color:"#000000",fontFamily:"Arial"});
- windowTextStyleSheet.setStyle("a",{color:"#000000",fontFamily:"Arial",textDecoration:"underline"});
- if(_global.Shell == null)
- {
- _global.Shell = new Object();
- }
- Shell.pupWindow = this;
- pupWindowOpen = 0;
- returnLocation = new Array();
- gotoAndStop("blank");
- play();
- Shell.openPupWindow = function(windowType, titleCopy, bodyCopy, buttons)
- {
- animStyle = "easeincubic";
- animStyle = "easeinoutquad";
- animDuration = 0.5;
- if(windowType == null)
- {
- Shell.pupWindow.openWindowLocation = "defaultLg";
- }
- else if(windowType == "default")
- {
- Shell.pupWindow.openWindowLocation = "defaultLg";
- }
- else
- {
- Shell.pupWindow.openWindowLocation = windowType;
- }
- Shell.pupWindow.windowButtons = buttons;
- Shell.pupWindow.titleCopy = titleCopy;
- Shell.pupWindow.bodyCopy = bodyCopy;
- Shell.pupWindow.gotoAndPlay(Shell.pupWindow.openWindowLocation);
- if(!Shell.pupWindow.pupWindowOpen)
- {
- Shell.pupWindow.windowBackground._width = 20;
- Shell.pupWindow.windowBackground._height = 20;
- }
- Shell.pupWindow._x = Shell.gameSettings.gameID.nativeWidth / 2;
- Shell.pupWindow._y = Shell.gameSettings.gameID.nativeHeight / 2;
- Shell.pupWindow.coverAllButton._x = (- Shell.gameSettings.gameID.nativeWidth) / 2;
- Shell.pupWindow.coverAllButton._y = (- Shell.gameSettings.gameID.nativeHeight) / 2;
- Shell.pupWindow.coverAllButton._xscale = Shell.gameSettings.gameID.nativeWidth;
- Shell.pupWindow.coverAllButton._yscale = Shell.gameSettings.gameID.nativeHeight;
- Shell.pupWindow.coverAllButton.useHandCursor = 0;
- if(!Shell.pupWindow.pupWindowOpen)
- {
- Shell.pupWindow.pupWindowOpen = 1;
- Shell.pupWindow.coverAllButton.tween("_alpha",50,animDuration);
- }
- };
- Shell.closePupWindow = function()
- {
- if(Shell.pupWindow.pupWindowOpen)
- {
- if(Shell.pupWindow.returnLocation.length == 0)
- {
- animStyle = "easeinquad";
- animStyle = "easeinoutquad";
- animDuration = 0.5;
- Shell.pupWindow.pupWindowOpen = 0;
- Shell.pupWindow.coverAllButton.tween("_alpha",0,animDuration);
- Shell.pupWindow.gotoAndPlay("toClose");
- }
- else
- {
- var _loc1_ = Shell.pupWindow.returnLocation.pop();
- if(_loc1_ == "contactingKewlbox" || _loc1_ == "")
- {
- Shell.openPupWindow(_loc1_);
- }
- }
- }
- else
- {
- Shell.pupWindow.gotoAndPlay("blank");
- }
- };
- }
-