Frame 1
bar._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
Frame 2
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndStop (4);
} else {
gotoAndPlay (1);
}
Frame 4
function otherOnEnterFrame() {
q = (q + 1) % 8;
r = (r + 1) % 18;
if ((q % 2) == 0) {
p--;
}
if (p == -1) {
p = 5;
}
x = 0;
while (x < 18) {
c = (r + x) % 18;
if (int(x / 3) == 0) {
cc = 4292626762;
}
if (int(x / 3) == 1) {
cc = 4292964667;
}
if (int(x / 3) == 2) {
cc = 4294961322;
}
if (int(x / 3) == 3) {
cc = 4283937892;
}
if (int(x / 3) == 4) {
cc = 4280914634;
}
if (int(x / 3) == 5) {
cc = 4284826002;
}
outline(2, 0 + c, 0 + c, 462 - (c * 2), 276 - (c * 2), cc);
x++;
}
if (q == 0) {
t = t + 1;
if (t > (len - 19)) {
t = 19;
}
}
rect(1, 0, 190, 462, 70, 0);
x = 0;
while (x < 17) {
xp = ((x * 32) - 48) - (q * 4);
h = ((xp + 80) % 80) - 40;
h = int((h * h) / 100);
write(1, alltext.charAt(t + x), xp, 200 + h);
x++;
}
}
function rect(l, x, y, w, h, c) {
bmp[l].fillRect(new flash.geom.Rectangle(x, y, w, h), c);
}
function outline(l, x, y, w, h, c) {
bmp[l].fillRect(new flash.geom.Rectangle(x, y, 1, h), c);
bmp[l].fillRect(new flash.geom.Rectangle(x, y, w, 1), c);
bmp[l].fillRect(new flash.geom.Rectangle((x + w) - 1, y, 1, h), c);
bmp[l].fillRect(new flash.geom.Rectangle(x, (y + h) - 1, w, 1), c);
}
function write(wlayer, wchr, wherex, wherey) {
if (wchr == "~") {
bmp[wlayer].copyPixels(sprites, new flash.geom.Rectangle(p * 96, 0, 96, 51), new flash.geom.Point(wherex, 200));
} else if (wchr != " ") {
wchr = wchr.toUpperCase();
wheight = 48;
wwidth = 32;
o = ord(wchr) - 32;
ox = o % 16;
oy = int(o / 16);
bmp[wlayer].copyPixels(alphamap, new flash.geom.Rectangle(ox * wwidth, oy * wheight, wwidth, wheight), new flash.geom.Point(wherex, wherey));
}
}
function writeln(wlay, wstr, wwx, wwy) {
x2 = 0;
while (x2 < length(wstr)) {
write(wlay, wstr.charAt(x2), wwx + (x2 * 32), wwy);
x2++;
}
}
stop();
var snd = new Sound(clip);
snd.attachSound(clip);
snd.setVolume(0);
music = new Sound();
music.attachSound("music");
music.start(0, 9999);
focusRect = false;
tabEnabled = false;
var alphamap = flash.display.BitmapData.loadBitmap("alphamap.png");
var sprites = flash.display.BitmapData.loadBitmap("sprites.png");
_root.createEmptyMovieClip("bh", 10);
bmp = new Array();
x = 0;
while (x < 3) {
bmp[x] = new flash.display.BitmapData(462, 276, true, 0);
bh.attachBitmap(bmp[x], x);
x++;
}
bh._xscale = (bh._yscale = 200);
alltext = " ~ ANONYMOUS D IS BACK AND BRONIER THAN EVAR!~ \"ANOTHER RAINBOW DASH\"~ ALL YOU HAVE TO DO IS BELIEVE IN YOURSELF~ WHICH PONY IS BEST PONY? HERE'S A HINT~ ~ ~ LOLOLOL~ ~ ~ MUSIC SAUCE: BUTTERFLY BOUCHER~ \"ANOTHER WHITE DASH\"~ FRIENDSHIP IS MAGIC BUT 4CHAN IS THE MAGICEST!~ BTW,HAPPY APRIL FOOLS' DAY,BITCHES~ ~ ~ ANONYMOUS D IS BACK";
len = length(alltext);
p = 5;
q = 0;
r = 0;
t = 0;
this.desiredFrameRate = 60;
this.callFunctionInt = setInterval(this, "otherOnEnterFrame", 1000 / this.desiredFrameRate);