Frame 2
stop();
initializeDarkeners = function () {
myColor = new Color(_root.darkQ);
myColor.setRGB(0);
myColor = new Color(_root.darkW);
myColor.setRGB(0);
myColor = new Color(_root.darkE);
myColor.setRGB(0);
myColor = new Color(_root.darkR);
myColor.setRGB(0);
myColor = new Color(_root.darkT);
myColor.setRGB(0);
myColor = new Color(_root.darkY);
myColor.setRGB(0);
myColor = new Color(_root.darkU);
myColor.setRGB(0);
myColor = new Color(_root.darkI);
myColor.setRGB(0);
myColor = new Color(_root.darkO);
myColor.setRGB(0);
myColor = new Color(_root.darkP);
myColor.setRGB(0);
myColor = new Color(_root.darkA);
myColor.setRGB(0);
myColor = new Color(_root.darkS);
myColor.setRGB(0);
myColor = new Color(_root.darkD);
myColor.setRGB(0);
myColor = new Color(_root.darkF);
myColor.setRGB(0);
myColor = new Color(_root.darkG);
myColor.setRGB(0);
myColor = new Color(_root.darkH);
myColor.setRGB(0);
myColor = new Color(_root.darkJ);
myColor.setRGB(0);
myColor = new Color(_root.darkK);
myColor.setRGB(0);
myColor = new Color(_root.darkL);
myColor.setRGB(0);
myColor = new Color(_root.darkZ);
myColor.setRGB(0);
myColor = new Color(_root.darkX);
myColor.setRGB(0);
myColor = new Color(_root.darkC);
myColor.setRGB(0);
myColor = new Color(_root.darkV);
myColor.setRGB(0);
myColor = new Color(_root.darkB);
myColor.setRGB(0);
myColor = new Color(_root.darkN);
myColor.setRGB(0);
myColor = new Color(_root.darkM);
myColor.setRGB(0);
myColor = new Color(_root.darkSpace);
myColor.setRGB(0);
myColor = new Color(_root.darkBackspace);
myColor.setRGB(0);
butts = 0;
darkQ._alpha = butts;
darkW._alpha = butts;
darkE._alpha = butts;
darkR._alpha = butts;
darkT._alpha = butts;
darkY._alpha = butts;
darkU._alpha = butts;
darkI._alpha = butts;
darkO._alpha = butts;
darkP._alpha = butts;
darkA._alpha = butts;
darkS._alpha = butts;
darkD._alpha = butts;
darkF._alpha = butts;
darkG._alpha = butts;
darkH._alpha = butts;
darkJ._alpha = butts;
darkK._alpha = butts;
darkL._alpha = butts;
darkZ._alpha = butts;
darkX._alpha = butts;
darkC._alpha = butts;
darkV._alpha = butts;
darkB._alpha = butts;
darkN._alpha = butts;
darkM._alpha = butts;
darkSpace._alpha = butts;
darkBackspace._alpha = butts;
};
initializeText = function () {
textQ._visible = false;
textW._visible = false;
textE._visible = false;
textR._visible = false;
textT._visible = false;
textY._visible = false;
textU._visible = false;
textI._visible = false;
textO._visible = false;
textP._visible = false;
textA._visible = false;
textS._visible = false;
textD._visible = false;
textF._visible = false;
textG._visible = false;
textH._visible = false;
textJ._visible = false;
textK._visible = false;
textL._visible = false;
textZ._visible = false;
textX._visible = false;
textC._visible = false;
textV._visible = false;
textB._visible = false;
textN._visible = false;
textM._visible = false;
textA2._visible = false;
textSpace._visible = false;
_root.textB2._visible = false;
_root.textN2._visible = false;
_root.textP2._visible = false;
_root.textT2._visible = false;
};
init = function () {
initializeDarkeners();
initializeText();
};
init();
linkuuu.onRelease = function () {
getURL ("http://phantomcat.newgrounds.com");
};
Instance of Symbol 98 MovieClip "halen2" in Frame 2
onClipEvent (load) {
this.gotoAndStop(1);
this.timer = 0;
this.soundString = "";
this.playable = true;
this.sound = new Sound();
this.sound.onSoundComplete = function () {
_root.halen2.playable = true;
this.soundString = "wompaboolomp";
};
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
_root.darkQ._alpha = 0;
_root.darkW._alpha = 0;
_root.darkE._alpha = 0;
_root.darkR._alpha = 0;
_root.darkT._alpha = 0;
_root.darkY._alpha = 0;
_root.darkU._alpha = 0;
_root.darkI._alpha = 0;
_root.darkO._alpha = 0;
_root.darkP._alpha = 0;
_root.darkA._alpha = 0;
_root.darkS._alpha = 0;
_root.darkD._alpha = 0;
_root.darkF._alpha = 0;
_root.darkG._alpha = 0;
_root.darkH._alpha = 0;
_root.darkJ._alpha = 0;
_root.darkK._alpha = 0;
_root.darkL._alpha = 0;
_root.darkZ._alpha = 0;
_root.darkX._alpha = 0;
_root.darkC._alpha = 0;
_root.darkV._alpha = 0;
_root.darkB._alpha = 0;
_root.darkN._alpha = 0;
_root.darkM._alpha = 0;
_root.darkSpace._alpha = 0;
_root.darkBackspace._alpha = 0;
this.soundString = "";
_root.textB2._visible = false;
_root.textN2._visible = false;
_root.textP2._visible = false;
_root.textT2._visible = false;
_root.BSQhat._visible = false;
_root.textQ._visible = false;
_root.textW._visible = false;
_root.textE._visible = false;
_root.textR._visible = false;
_root.textT._visible = false;
_root.textY._visible = false;
_root.textU._visible = false;
_root.textI._visible = false;
_root.textO._visible = false;
_root.textP._visible = false;
_root.textA._visible = false;
_root.textS._visible = false;
_root.textD._visible = false;
_root.textF._visible = false;
_root.textG._visible = false;
_root.textH._visible = false;
_root.textJ._visible = false;
_root.textK._visible = false;
_root.textL._visible = false;
_root.textZ._visible = false;
_root.textX._visible = false;
_root.textC._visible = false;
_root.textV._visible = false;
_root.textB._visible = false;
_root.textN._visible = false;
_root.textM._visible = false;
_root.textSpace._visible = false;
}
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
_root.darkSpace._alpha = 50;
this.soundString = "space";
_root.textSpace._visible = true;
}
if (Key.getCode() == 65) {
_root.darkA._alpha = 50;
this.soundString = "a";
_root.textA._visible = true;
}
if (Key.getCode() == 66) {
_root.darkB._alpha = 50;
if (Math.ceil(Math.random() * 2) == 1) {
this.soundString = "b";
_root.textB._visible = true;
_root.textB2._visible = false;
} else {
this.soundString = "b2";
_root.textB2._visible = true;
_root.textB._visible = false;
}
}
if (Key.getCode() == 67) {
_root.darkC._alpha = 50;
this.soundString = "c";
_root.textC._visible = true;
}
if (Key.getCode() == 68) {
_root.darkD._alpha = 50;
this.soundString = "d";
_root.textD._visible = true;
}
if (Key.getCode() == 69) {
_root.darkE._alpha = 50;
this.soundString = "e";
_root.textE._visible = true;
}
if (Key.getCode() == 70) {
_root.darkF._alpha = 50;
this.soundString = "f";
_root.textF._visible = true;
}
if (Key.getCode() == 71) {
_root.darkG._alpha = 50;
this.soundString = "g";
_root.textG._visible = true;
}
if (Key.getCode() == 72) {
_root.darkH._alpha = 50;
this.soundString = "h";
_root.textH._visible = true;
}
if (Key.getCode() == 73) {
_root.darkI._alpha = 50;
this.soundString = "i";
_root.textI._visible = true;
}
if (Key.getCode() == 74) {
_root.darkJ._alpha = 50;
this.soundString = "j";
_root.textJ._visible = true;
}
if (Key.getCode() == 75) {
_root.darkK._alpha = 50;
this.soundString = "k";
_root.textK._visible = true;
}
if (Key.getCode() == 76) {
_root.darkL._alpha = 50;
this.soundString = "l";
_root.textL._visible = true;
}
if (Key.getCode() == 77) {
_root.darkM._alpha = 50;
this.soundString = "m";
_root.textM._visible = true;
}
if (Key.getCode() == 78) {
_root.darkN._alpha = 50;
if (Math.ceil(Math.random() * 2) == 1) {
this.soundString = "n";
_root.textN._visible = true;
_root.textN2._visible = false;
} else {
this.soundString = "n2";
_root.textN2._visible = true;
_root.textN._visible = false;
}
}
if (Key.getCode() == 79) {
_root.darkO._alpha = 50;
this.soundString = "o";
_root.textO._visible = true;
}
if (Key.getCode() == 80) {
_root.darkP._alpha = 50;
if (Math.ceil(Math.random() * 2) == 1) {
this.soundString = "p";
_root.textP._visible = true;
_root.textP2._visible = false;
} else {
this.soundString = "p2";
_root.textP2._visible = true;
_root.textP._visible = false;
}
}
if (Key.getCode() == 81) {
_root.darkQ._alpha = 50;
this.soundString = "q";
_root.textQ._visible = true;
}
if (Key.getCode() == 82) {
_root.darkR._alpha = 50;
this.soundString = "r";
_root.textR._visible = true;
}
if (Key.getCode() == 83) {
_root.darkS._alpha = 50;
this.soundString = "s";
_root.textS._visible = true;
}
if (Key.getCode() == 84) {
_root.darkT._alpha = 50;
if (Math.ceil(Math.random() * 2) == 1) {
this.soundString = "t";
_root.textT._visible = true;
_root.textT2._visible = false;
} else {
this.soundString = "t2";
_root.textT2._visible = true;
_root.textT._visible = false;
}
}
if (Key.getCode() == 85) {
_root.darkU._alpha = 50;
this.soundString = "u";
_root.textU._visible = true;
}
if (Key.getCode() == 86) {
_root.darkV._alpha = 50;
this.soundString = "v";
_root.textV._visible = true;
}
if (Key.getCode() == 87) {
_root.darkW._alpha = 50;
this.soundString = "w";
_root.textW._visible = true;
}
if (Key.getCode() == 88) {
_root.darkX._alpha = 50;
this.soundString = "x";
_root.textX._visible = true;
}
if (Key.getCode() == 89) {
_root.darkY._alpha = 50;
this.soundString = "y";
_root.textY._visible = true;
}
if (Key.getCode() == 90) {
_root.darkZ._alpha = 50;
this.soundString = "z";
_root.textZ._visible = true;
}
if (Key.getCode() == 8) {
_root.darkBackspace._alpha = 50;
stopAllSounds();
this.playable = true;
} else if (this.soundString == "p2") {
this.gotoAndStop(3);
} else if (this.soundString == "b2") {
this.gotoAndStop(4);
} else if (this.soundString == "t2") {
this.gotoAndStop(5);
} else if (this.soundString == "n2") {
this.gotoAndStop(6);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.playable == false) {
} else if (this.soundString == "space") {
this.playable = false;
this.sound.attachSound("space");
this.sound.start();
this.timer = 5;
} else if (soundString == "b2") {
this.playable = false;
this.sound.attachSound("b2");
this.sound.start();
} else if (soundString == "n2") {
this.playable = false;
this.sound.attachSound("n2");
this.sound.start();
} else if (soundString == "p2") {
this.playable = false;
this.sound.attachSound("p2");
this.sound.start();
} else if (soundString == "t2") {
this.playable = false;
this.sound.attachSound("t2");
this.sound.start();
} else if (this.soundString == "a") {
this.playable = false;
this.sound.attachSound("a");
this.sound.start();
this.timer = 10;
} else if (this.soundString == "b") {
this.playable = false;
this.sound.attachSound("b");
this.sound.start();
this.timer = 11;
} else if (this.soundString == "c") {
this.playable = false;
this.sound.attachSound("c");
this.sound.start();
this.timer = 7;
} else if (this.soundString == "d") {
this.playable = false;
this.sound.attachSound("d");
this.sound.start();
this.timer = 14;
} else if (this.soundString == "e") {
this.playable = false;
this.sound.attachSound("e");
this.sound.start();
this.timer = 11;
} else if (this.soundString == "f") {
this.playable = false;
this.sound.attachSound("f");
this.sound.start();
this.timer = 15;
} else if (this.soundString == "g") {
this.playable = false;
this.sound.attachSound("g");
this.sound.start();
this.timer = 1;
} else if (this.soundString == "h") {
this.playable = false;
this.sound.attachSound("h");
this.sound.start();
this.timer = 31;
} else if (this.soundString == "i") {
this.playable = false;
this.sound.attachSound("i");
this.sound.start();
this.timer = 18;
} else if (this.soundString == "j") {
this.playable = false;
this.sound.attachSound("j");
this.sound.start();
this.timer = 1;
} else if (this.soundString == "k") {
this.playable = false;
this.sound.attachSound("k");
this.sound.start();
this.timer = 1;
} else if (this.soundString == "l") {
this.playable = false;
this.sound.attachSound("l");
this.sound.start();
this.timer = 25;
} else if (this.soundString == "m") {
this.playable = false;
this.sound.attachSound("m");
this.sound.start();
this.timer = 13;
} else if (this.soundString == "n") {
this.playable = false;
this.sound.attachSound("n");
this.sound.start();
this.timer = 1;
} else if (this.soundString == "o") {
this.playable = false;
this.sound.attachSound("o");
this.sound.start();
this.timer = 18;
} else if (this.soundString == "p") {
this.playable = false;
this.sound.attachSound("p");
this.sound.start();
this.timer = 1;
} else if (this.soundString == "q") {
this.playable = false;
this.sound.attachSound("q");
this.sound.start();
this.timer = 1;
} else if (this.soundString == "r") {
this.playable = false;
this.sound.attachSound("r");
this.sound.start();
this.timer = 80;
} else if (this.soundString == "s") {
this.playable = false;
this.sound.attachSound("s");
this.sound.start();
this.timer = 1;
} else if (this.soundString == "t") {
this.playable = false;
this.sound.attachSound("t");
this.sound.start();
this.timer = 9;
} else if (this.soundString == "u") {
this.playable = false;
this.sound.attachSound("u");
this.sound.start();
this.timer = 1;
} else if (this.soundString == "v") {
this.playable = false;
this.sound.attachSound("v");
this.sound.start();
this.timer = 1;
} else if (this.soundString == "w") {
this.playable = false;
this.sound.attachSound("w");
this.sound.start();
this.timer = 12;
} else if (this.soundString == "x") {
this.playable = false;
this.sound.attachSound("x");
this.sound.start();
this.timer = 1;
} else if (this.soundString == "y") {
this.playable = false;
this.sound.attachSound("y");
this.sound.start();
this.timer = 18;
} else if (this.soundString == "z") {
this.playable = false;
this.sound.attachSound("z");
this.sound.start();
this.timer = 60;
}
}
Symbol 62 Button
on (release) {
getURL ("http://www.clockcrew.cc", "_blank");
}
Symbol 64 MovieClip Frame 40
stop();
Symbol 78 Button
on (release) {
startMovie();
}
Symbol 79 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local4;
if (_local4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop ("loaded");
}
return(undefined);
}
}
dt = getTimer() - time;
time = time + dt;
frameAccum = frameAccum + dt;
var _local3 = 0;
while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) {
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
(frameAccum = frameAccum - FRAME_TIME);
_local3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return(undefined);
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof(clip[childName]) == "movieclip") {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.3333333333333;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();