Frame 1
function deadClick() {
}
function rect(x, y, w, h, c) {
bmp.fillRect(new flash.geom.Rectangle(x, y, w, h), c);
}
function clearscreen() {
rect(0, 0, 200, 100, 0);
}
Stage.scaleMode = "noScale";
focusRect = false;
tabEnabled = false;
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
var nop = new ContextMenuItem("Anonymous D", deadClick);
nop.separatorBefore = true;
my_cm.customItems.push(nop);
var nop = new ContextMenuItem("Loop-D-Loop", deadClick);
nop.separatorBefore = false;
my_cm.customItems.push(nop);
var nop = new ContextMenuItem("Music:", deadClick);
nop.separatorBefore = true;
my_cm.customItems.push(nop);
var nop = new ContextMenuItem("The Timelords - Doctorin' the Tardis", deadClick);
nop.separatorBefore = false;
my_cm.customItems.push(nop);
var nop = new ContextMenuItem("Zoom options are turned off", deadClick);
nop.separatorBefore = true;
my_cm.customItems.push(nop);
var nop = new ContextMenuItem("Trust me, it looks better this way", deadClick);
nop.separatorBefore = false;
my_cm.customItems.push(nop);
_root.menu = my_cm;
music = new Sound();
music.attachSound("music");
music.start(0, 9999);
blur = new flash.filters.BlurFilter(8, 2, 1);
bmp = new flash.display.BitmapData(200, 100, false, 4288230246);
inmask.createEmptyMovieClip("pic", 1000);
inmask.attachBitmap(bmp, 1);
inmask._xscale = (inmask._yscale = 300);
inmask._y = 90;
inmask._x = 20;
bmp2 = new flash.display.BitmapData(600, 300, true, 16777215);
inmask2.createEmptyMovieClip("grid", 1001);
inmask2.attachBitmap(bmp2, 2);
inmask2._y = 90;
inmask2._x = 20;
x = 0;
while (x < 300) {
bmp2.fillRect(new flash.geom.Rectangle(0, x * 3, 600, 1), 4278190080);
bmp2.fillRect(new flash.geom.Rectangle(x * 6, 0, 1, 300), 4278190080);
bmp2.fillRect(new flash.geom.Rectangle((x * 6) + 3, 0, 1, 300), 4278190080);
x++;
}
var m = (new flash.geom.Matrix());
clearscreen();
beatdiff = 477;
curbeat = 0;
secondhalf = false;
curdoc = 0;
side = 1;
timeout = 1;
this.onEnterFrame = function () {
timeout--;
if (timeout == 0) {
curdoc = (curdoc % 11) + 1;
doc_mc.gotoAndStop(curdoc);
timeout = 100;
side = side * -1;
dxp = 44 + (240 * side);
}
colormult = 0;
if ((music.position < 10000) && (secondhalf)) {
curbeat = beatdiff;
secondhalf = false;
colormult = 1;
}
if (music.position >= curbeat) {
if (music.position >= 10000) {
secondhalf = true;
}
colormult = 1;
curbeat = curbeat + beatdiff;
if (curbeat > 19603) {
curbeat = 0;
}
}
if ((((curbeat == (beatdiff * 5)) || (curbeat == (beatdiff * 13))) || (curbeat == (beatdiff * 21))) && (colormult == 1)) {
rect(0, 0, 200, 100, 16750386);
}
rect(0, 0, 5, 100, 16750386 * colormult);
rect(195, 0, 5, 100, 16750386 * colormult);
rect(0, 0, 200, 1, 0);
rect(0, 99, 200, 1, 0);
bmp.applyFilter(bmp, new flash.geom.Rectangle(0, 0, 200, 100), new flash.geom.Point(0, 0), blur);
if (dxp != 44) {
dxp = dxp - (side * 8);
}
m.tx = dxp;
m.ty = 0;
bmp.draw(doc_mc, m);
};
Instance of Symbol 30 MovieClip "fps_mc" in Frame 1
onClipEvent (enterFrame) {
with (_root) {
now = getTimer();
diff = now - then;
fps.text = int(1000 / diff);
then = now;
}
}
Symbol 27 MovieClip [doc_mc] Frame 1
stop();