Frame 1
function init() {
if (this.inited) {
return(undefined);
}
this.inited = true;
Stage.scaleMode = "noScale";
Stage.align = "TL";
this.onMouseUp = function () {
Stage.displayState = "fullScreen";
};
Stage.addListener(this);
}
function onFullScreen(bFull) {
if (bFull) {
clicky_mc._visible = false;
makeBigHell();
startMessageMaking();
bsodIntervalId = setInterval(this, "blueScreen", 7000);
} else {
clicky_mc._visible = true;
clearMessages();
if (bsodIntervalId) {
clearInterval(bsodIntervalId);
bsodIntervalId = 0;
}
this.bsod.removeMovieClip();
}
}
function makeBigHell() {
var _local2 = this.attachMovie("pwn3d", "banner", 20000);
_local2._x = Stage.width * 0.5;
_local2._y = 125;
}
function startMessageMaking() {
curMsgCount = 0;
this.onEnterFrame = function () {
this.banner._visible = !this.banner._visible;
this.banner._xscale = this.banner._xscale * 1.05;
this.banner._yscale = this.banner._yscale * 1.05;
this.banner._rotation = this.banner._rotation - 1;
var _local2 = curMsgCount;
while ((_local2 < (curMsgCount + 30)) && (_local2 < MSG_COUNT)) {
var _local3 = this.attachMovie("message", "message" + _local2, (MSG_COUNT - _local2) + 1);
_local3._x = Math.random() * Stage.width;
_local3._y = Math.random() * Stage.height;
_local2++;
}
curMsgCount = curMsgCount + 30;
if (curMsgCount >= MSG_COUNT) {
this.banner._visible = true;
delete this.onEnterFrame;
}
};
}
function clearMessages() {
delete this.onEnterFrame;
var _local2 = 0;
while (_local2 < MSG_COUNT) {
var _local3 = this["message" + _local2];
_local3.removeMovieClip();
_local2++;
}
this.banner.removeMovieClip();
}
function blueScreen() {
clearInterval(bsodIntervalId);
bsodIntervalId = 0;
clearMessages();
var _local2 = this.createEmptyMovieClip("bsod", 21000);
_local2.createEmptyMovieClip("bg", 0);
_local2.bg.beginFill(66220);
_local2.bg.moveTo(0, 0);
_local2.bg.lineTo(Stage.width, 0);
_local2.bg.lineTo(Stage.width, Stage.height);
_local2.bg.lineTo(0, Stage.height);
_local2.bg.lineTo(0, 0);
_local2.bg.endFill();
var _local3 = _local2.attachMovie("bsod", "bsodtext", 100);
_local3._x = Stage.width * 0.5;
_local3._y = Stage.height * 0.5;
}
stop();
var MSG_COUNT = 300;
var curMsgCount = 0;
var bsodIntervalId = 0;
init();
Symbol 5 MovieClip [message] Frame 1
#initclip 2
Object.registerClass("message", Message);
#endinitclip
Symbol 13 MovieClip [bsod] Frame 1
function onEnterFrame() {
if ((--count) <= 0) {
count = 15;
this.cursor_mc._visible = !this.cursor_mc._visible;
}
}
var count = 15;
Symbol 18 MovieClip [__Packages.Message] Frame 0
class Message extends MovieClip
{
var startFadeTime, cacheAsBitmap, msgHolder_mc, __get__text;
function Message () {
super();
createRandomText();
startFadeTime = (new Date().getTime() + 2000) + (Math.random() * 5000);
cacheAsBitmap = true;
}
function createRandomText() {
var _local7 = "";
var _local8 = 5 + Math.floor(5 * Math.random());
var _local5 = "abcdefghijklmnopqrstuvwxyz";
var _local4 = 0;
while (_local4 < _local8) {
var _local6 = 1 + Math.floor(6 * Math.random());
var _local3 = 0;
while (_local3 < _local6) {
var _local2 = _local5.charAt(Math.random() * _local5.length);
if ((_local4 == 0) && (_local3 == 0)) {
_local2 = _local2.toUpperCase();
}
_local7 = _local7 + _local2;
_local3++;
}
_local7 = _local7 + " ";
_local4++;
}
_local7 = _local7.substr(0, _local7.length - 1) + ".";
text = (_local7);
}
function set text(s) {
msgHolder_mc.message_txt.text = s;
//return(__get__text());
}
}