Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("4aa19dd7", this, 10301, true);
stop();
Frame 2
stop();
Frame 3
var gravity = 1;
var restitution = 0.6;
var friction = 0.3;
stop();
score = 0;
Instance of Symbol 38 MovieClip "ball" in Frame 3
onClipEvent (load) {
var vel = {x:0, y:0};
var pos = {x:_x, y:_y};
var old = {x:_x, y:_y};
var radius = (this._width / 2);
var movie = {width:400, height:400};
var dragging = false;
}
onClipEvent (enterFrame) {
if (!dragging) {
vel.y = vel.y + _root.gravity;
pos.x = pos.x + vel.x;
pos.y = pos.y + vel.y;
if ((pos.y + radius) > movie.height) {
pos.y = movie.height - radius;
vel.y = vel.y * (-_root.restitution);
vel.x = vel.x * _root.friction;
}
if ((pos.x + radius) > movie.width) {
pos.x = movie.width - radius;
vel.x = vel.x * (-_root.restitution);
}
if (pos.x < radius) {
pos.x = radius;
vel.x = vel.x * (-_root.restitution);
}
if (hitTest(_root.downwall)) {
vel.y = 0;
}
if (hitTest(_root.downwall2)) {
vel.y = 0;
}
if (hitTest(_root.upwall)) {
vel.y = -1.5;
}
if (hitTest(_root.upwall2)) {
vel.y = -1.5;
}
if (Key.isDown(32)) {
_root.gotoAndPlay(2);
}
if (Key.isDown(37)) {
vel.x = vel.x - 1.5;
}
if (Key.isDown(39)) {
vel.x = vel.x + 1.5;
}
if (Key.isDown(38)) {
vel.y = vel.y - 1.5;
}
if (Key.isDown(40)) {
vel.y = vel.y + 1.5;
}
_x = pos.x;
_y = pos.y;
} else {
old.x = pos.x;
old.y = pos.y;
pos.x = _x;
pos.y = _y;
vel.x = (pos.x - old.x) / 2;
vel.y = (pos.y - old.y) / 2;
}
}
onClipEvent (enterFrame) {
_root.ball;
if (hitTest(_root.target0)) {
_root.target0.gotoAndStop(111);
}
if (Key.isDown(32)) {
ball.pos.x = 200;
ball.pos.y = 0;
vel.y = -1;
vel.x = 0;
}
}
Symbol 10 Button
on (release) {
getURL ("http://www.potatosheep.com");
}
Symbol 16 Button
on (release) {
_root.gotoAndPlay(2);
}
Symbol 17 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(loading_bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 17 MovieClip Frame 2
gotoAndPlay (1);
Symbol 26 Button
on (release) {
getURL ("http://www.albinoblacksheep.com");
}
Symbol 35 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 11
function ansGen() {
generate = random(10);
ans = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"];
_root.tb = ans[generate];
}
ansGen();
_root.target0.tar.gotoAndStop(tb);
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 2
stop();
Symbol 41 MovieClip Frame 13
stop();
Symbol 41 MovieClip Frame 24
stop();
Symbol 41 MovieClip Frame 35
stop();
Symbol 41 MovieClip Frame 46
stop();
Symbol 41 MovieClip Frame 57
stop();
Symbol 41 MovieClip Frame 68
stop();
Symbol 41 MovieClip Frame 79
stop();
Symbol 41 MovieClip Frame 90
stop();
Symbol 41 MovieClip Frame 101
stop();
Symbol 41 MovieClip Frame 111
function ansGen() {
generate = random(110);
ans = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "70", "71", "72", "73", "74", "75", "76", "77", "78", "79", "80", "81", "82", "83", "84", "85", "86", "87", "88", "89", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", "100", "101", "102", "103", "104", "105", "106", "107", "108", "109", "110"];
textbox = ans[generate];
}
ansGen();
_root.target0.gotoAndStop(textbox);
_root.score = _root.score + 1;
_root.timer.gotoAndPlay(1);
Symbol 46 MovieClip Frame 1
_root.timeleft = 3;
Symbol 46 MovieClip Frame 36
_root.timeleft = 2;
Symbol 46 MovieClip Frame 72
_root.timeleft = 1;
Symbol 46 MovieClip Frame 108
_root.gotoAndStop(4);
Symbol 51 Button
on (release) {
getURL ("http://www.potatosheep.com");
}
Symbol 63 Button
on (release) {
gotoAndStop (5);
}
Symbol 68 MovieClip Frame 91
_root.gotoAndStop(3);