Frame 1
function deadClick() {
}
function gotoMySite() {
getURL ("http://sponsorsite.com", "_top");
}
function mooseisloose() {
getURL ("http://mooseisloose.co.uk", "_top");
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var copyrightNotice = new ContextMenuItem("\u00A9 2007 Joseph Willmott", deadClick);
var mySiteLink = new ContextMenuItem("Created by mooseisloose", mooseisloose);
myMenu.customItems.push(mySiteLink, copyrightNotice);
_root.menu = myMenu;
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__("dc40e429", this, 10301, true);
Frame 2
stop();
Frame 3
stop();
Instance of Symbol 23 MovieClip in Frame 3
on (release) {
getURL ("http://mooseisloose.co.uk", "blank");
}
Frame 4
stop();
Frame 5
stop();
Instance of Symbol 49 MovieClip in Frame 5
on (release) {
getURL ("http://legitgames.com", "blank");
}
Frame 7
stop();
Instance of Symbol 91 MovieClip "platform1" in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 91 MovieClip "platform2" in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 91 MovieClip "platform3" in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 91 MovieClip "platform4" in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip "platform5" in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 91 MovieClip "platform6" in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 94 MovieClip "platform" in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 91 MovieClip in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 91 MovieClip in Frame 7
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 102 MovieClip "chart" in Frame 7
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 5;
jumpheight = 15;
maxfall = -10;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(32) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
}
onClipEvent (load) {
var rebound = 6;
}
onClipEvent (enterFrame) {
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
}
onClipEvent (load) {
speed = 3;
stop();
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else if (Key.isDown(40)) {
gotoAndStop (4);
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.leftwall)) {
_x = 590;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.rightwall)) {
_x = 5;
}
}
Instance of Symbol 94 MovieClip "platform" in Frame 8
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 91 MovieClip "platform7" in Frame 8
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 91 MovieClip "platform8" in Frame 8
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 102 MovieClip "chart" in Frame 8
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 5;
jumpheight = 15;
maxfall = -10;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(32) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
}
onClipEvent (load) {
var rebound = 6;
}
onClipEvent (enterFrame) {
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
}
onClipEvent (load) {
speed = 3;
stop();
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else if (Key.isDown(40)) {
gotoAndStop (4);
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.leftwall)) {
_x = 590;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.rightwall)) {
_x = 5;
}
}
Instance of Symbol 102 MovieClip "chart" in Frame 9
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 5;
jumpheight = 15;
maxfall = -10;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(32) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
}
onClipEvent (load) {
var rebound = 6;
}
onClipEvent (enterFrame) {
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
}
onClipEvent (load) {
speed = 3;
stop();
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else if (Key.isDown(40)) {
gotoAndStop (4);
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.leftwall)) {
_x = 590;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.rightwall)) {
_x = 5;
}
}
Instance of Symbol 91 MovieClip "platform1" in Frame 10
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 91 MovieClip "platform2" in Frame 10
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 91 MovieClip "platform3" in Frame 10
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 91 MovieClip "platform4" in Frame 10
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 92 MovieClip "platform5" in Frame 10
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 91 MovieClip "platform6" in Frame 10
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 102 MovieClip "chart" in Frame 10
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 5;
jumpheight = 15;
maxfall = -10;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(32) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
}
onClipEvent (load) {
var rebound = 6;
}
onClipEvent (enterFrame) {
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
}
onClipEvent (load) {
speed = 3;
stop();
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else if (Key.isDown(40)) {
gotoAndStop (4);
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.leftwall)) {
_x = 590;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.rightwall)) {
_x = 5;
}
}
Instance of Symbol 94 MovieClip "platform" in Frame 11
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 91 MovieClip "platform7" in Frame 11
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 91 MovieClip "platform8" in Frame 11
onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = (Math.round(_root.circle.yMax) + " ") + Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (((_root.circle.xMax > xMin) && (_root.circle.xMin < xMax)) && (_root.circle.yMax < yMin)) {
if ((_root.circle.yMax - (_root.chart.jump * 2)) > yMin) {
_root.circle._y = ymin - (_root.chart._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax) > Math.round(yMin)) {
if (hitTest(_root.circle) && (_root.chart.xmax < xmin)) {
_root.circle._x = _root.circle._x - _root.circle.speed;
}
if (hitTest(_root.chart) && (_root.chart.xmin > xmax)) {
_root.circle._x = _root.circle._x + _root.circle.speed;
}
if ((hitTest(_root.chart) && (_root.chart.ymin > ymax)) && (_root.chart.jump > -1)) {
_root.circle.jump = -1 * _root.chart.jump;
}
}
if (((activated == true) && (!hitTest(_root.circle))) && (_root.circle.jump == undefined)) {
_root.circle.jump = 0;
activated = false;
}
if (((hitTest(_root.circle) && (_root.circle.ymax > ymin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if ((((((_root.circle.ymax - _root.circle.jump) > ymin) && (_root.circle.xMin < xMax)) && (_root.circle.xMax > xMin)) && (_root.circle.jump != undefined)) && (_root.circle._y < _y)) {
_root.circle._y = ymin - (_root.circle._height / 2);
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
Instance of Symbol 102 MovieClip "chart" in Frame 11
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 5;
jumpheight = 15;
maxfall = -10;
}
onClipEvent (enterFrame) {
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if ((Key.isDown(32) && (fall == false)) && (jump == undefined)) {
fall = true;
jump = jumpheight;
}
if (jump != undefined) {
if (jump > maxfall) {
jump--;
}
_y = (_y - jump);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_x = (_x - speed);
}
if (Key.isDown(39)) {
_x = (_x + speed);
}
}
onClipEvent (load) {
var rebound = 6;
}
onClipEvent (enterFrame) {
(_root.wall.hitTest(getBounds(_root).xMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
(_root.wall.hitTest(getBounds(_root).xMin, _y, true) ? (_x = (_x + rebound)_x + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMin, _y, true) ? (_y = (_y + rebound)_y + rebound) : 0);
(_root.wall.hitTest(getBounds(_root).yMax, _y, true) ? (_x = (_x - rebound)_x - rebound) : 0);
}
onClipEvent (load) {
speed = 3;
stop();
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_x = (_x + speed);
gotoAndStop (2);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (3);
} else if (Key.isDown(40)) {
gotoAndStop (4);
} else {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.leftwall)) {
_x = 590;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.rightwall)) {
_x = 5;
}
}
Frame 12
Instance of Symbol 49 MovieClip in Frame 12
on (release) {
getURL ("http://legitgames.com", "blank");
}
Frame 18
stop();
Frame 27
_root.name = Purplenum;
stop();
Frame 28
ab20_09 = new LoadVars();
ab20_09.z = _root.name;
ab20_09.x = _root.score;
ab20_09.c = 1164;
ab20_09.v = "KVHXSY";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
stop();
Symbol 8 Button
on (release) {
getURL ("http://legitgames.com", "blank");
}
Symbol 15 Button
on (release) {
_root.play();
}
Symbol 16 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 16 MovieClip Frame 2
gotoAndPlay (1);
Symbol 18 MovieClip Frame 50
_root.play();
Symbol 23 MovieClip Frame 140
_root.play();
Symbol 40 MovieClip Frame 50
_root.nextFrame();
Symbol 42 Button
on (release) {
gotoAndStop (2067);
}
Symbol 44 Button
on (release) {
gotoAndPlay (1);
}
Symbol 45 MovieClip Frame 2066
gotoAndPlay (1);
Symbol 45 MovieClip Frame 2067
stop();
Symbol 48 Button
on (release) {
getURL ("http://legitgames.com", "blank");
}
Symbol 52 Button
on (release) {
gotoAndStop (7);
}
Symbol 55 Button
on (release) {
gotoAndStop (6);
}
Symbol 60 Button
on (release) {
getURL ("http://www.armorbot.com/mytable/?id=1164", "blank");
}
Symbol 86 MovieClip Frame 119
_root.score = _root.score + 1;
Symbol 86 MovieClip Frame 120
_root.paraman.gotoAndStop(1);
Symbol 88 MovieClip Frame 120
_root.paraman.gotoAndStop(1);
Symbol 89 MovieClip Frame 1
_root.paraman.gotoAndStop(random(15) + 2);
Instance of Symbol 86 MovieClip "airdrop" in Symbol 89 MovieClip Frame 2
onClipEvent (load) {
_x = random(521);
}
Symbol 100 MovieClip Frame 1
play();
Symbol 102 MovieClip Frame 1
stop();
Instance of Symbol 98 MovieClip "hit1" in Symbol 102 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad1.bad.bullet)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad1.bad.explosion)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad2.bad.bullet)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad2.bad.explosion)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.airdrop.healthairdrop.uphealth)) {
_root.airdrop.gotoAndStop(1);
_root.health.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.paraman.airdrop.bullet)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.paraman.airdrop.leftbullet)) {
_root.health.nextFrame();
}
}
Symbol 102 MovieClip Frame 2
stop();
Instance of Symbol 98 MovieClip "hit2" in Symbol 102 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad1.bad.bullet)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad1.bad.explosion)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad2.bad.bullet)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad2.bad.explosion)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.airdrop.healthairdrop.uphealth)) {
_root.airdrop.gotoAndStop(1);
_root.health.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.paraman.airdrop.bullet)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.paraman.airdrop.leftbullet)) {
_root.health.nextFrame();
}
}
Symbol 102 MovieClip Frame 3
stop();
Instance of Symbol 98 MovieClip "hit3" in Symbol 102 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad1.bad.bullet)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad1.bad.explosion)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad2.bad.bullet)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad2.bad.explosion)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.airdrop.healthairdrop.uphealth)) {
_root.airdrop.gotoAndStop(1);
_root.health.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.paraman.airdrop.bullet)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.paraman.airdrop.leftbullet)) {
_root.health.nextFrame();
}
}
Instance of Symbol 98 MovieClip "hit4" in Symbol 102 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad1.bad.bullet)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad1.bad.explosion)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad2.bad.bullet)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bad2.bad.explosion)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.airdrop.healthairdrop.uphealth)) {
_root.airdrop.gotoAndStop(1);
_root.health.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.paraman.airdrop.bullet)) {
_root.health.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.paraman.airdrop.leftbullet)) {
_root.health.nextFrame();
}
}
Symbol 115 MovieClip Frame 16
stop();
Symbol 122 MovieClip Frame 251
stop();
Symbol 124 MovieClip Frame 120
_root.airdrop.gotoAndStop(1);
Symbol 125 MovieClip Frame 1
_root.airdrop.gotoAndStop(random(10) + 2);
Instance of Symbol 122 MovieClip "healthairdrop" in Symbol 125 MovieClip Frame 2
onClipEvent (load) {
_x = random(495);
}
Symbol 130 MovieClip Frame 109
_root.score = _root.score + 1;
Symbol 130 MovieClip Frame 120
_root.bad2.gotoAndStop(1);
Symbol 132 MovieClip Frame 120
_root.bad2.gotoAndStop(1);
Symbol 137 MovieClip Frame 112
_root.score = _root.score + 1;
Symbol 137 MovieClip Frame 120
_root.bad2.gotoAndStop(1);
Symbol 138 MovieClip Frame 1
_root.bad2.gotoAndStop(random(14) + 2);
Instance of Symbol 85 MovieClip "bullet" in Symbol 143 MovieClip Frame 50
/* no clip actions */
Symbol 143 MovieClip Frame 115
_root.score = _root.score + 1;
Symbol 143 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 160 MovieClip Frame 105
_root.score = _root.score + 1;
Symbol 160 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 161 MovieClip Frame 116
_root.score = _root.score + 1;
Symbol 161 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 162 MovieClip Frame 112
_root.score = _root.score + 1;
Symbol 162 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 163 MovieClip Frame 1
_root.bad1.gotoAndStop(random(14) + 2);
Symbol 165 MovieClip Frame 119
if (_root.score > 9) {
_root.nextFrame();
_root.lvlup.nextFrame();
}
Symbol 166 MovieClip Frame 119
if (_root.score > 24) {
_root.nextFrame();
_root.lvlup.nextFrame();
}
Symbol 167 MovieClip Frame 119
if (_root.score > 49) {
_root.nextFrame();
_root.lvlup.nextFrame();
}
Symbol 168 MovieClip Frame 119
if (_root.score > 99) {
_root.nextFrame();
_root.lvlup.nextFrame();
}
Symbol 169 MovieClip Frame 119
if (_root.score > 149) {
_root.gotoAndStop(9);
_root.lvlup.nextFrame();
}
Symbol 170 MovieClip Frame 119
if (_root.score > 199) {
_root.nextFrame();
_root.lvlup.nextFrame();
}
Symbol 171 MovieClip Frame 119
if (_root.score > 249) {
_root.nextFrame();
_root.lvlup.nextFrame();
}
Symbol 172 MovieClip Frame 119
if (_root.score > 299) {
_root.gotoAndStop(9);
_root.lvlup.nextFrame();
}
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
stop();
Symbol 173 MovieClip Frame 3
stop();
Symbol 173 MovieClip Frame 4
stop();
Symbol 173 MovieClip Frame 5
stop();
Symbol 173 MovieClip Frame 6
stop();
Symbol 173 MovieClip Frame 7
stop();
Symbol 173 MovieClip Frame 8
stop();
Symbol 199 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 26
_root.deathmc.play();
Symbol 204 MovieClip Frame 1
_root.score = 0;
Symbol 204 MovieClip Frame 2
stop();
Symbol 207 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 10
_root.gotoAndPlay(12);
Symbol 216 MovieClip Frame 41
stop();
Symbol 217 MovieClip Frame 119
_root.score = _root.score + 1;
Symbol 217 MovieClip Frame 120
_root.bad2.gotoAndStop(1);
Symbol 224 MovieClip Frame 110
_root.score = _root.score + 1;
Symbol 224 MovieClip Frame 120
_root.bad2.gotoAndStop(1);
Symbol 227 MovieClip Frame 89
_root.score = _root.score + 1;
Symbol 227 MovieClip Frame 120
_root.bad2.gotoAndStop(1);
Symbol 228 MovieClip Frame 1
_root.bad2.gotoAndStop(random(15) + 2);
Symbol 232 MovieClip Frame 105
_root.score = _root.score + 1;
Symbol 232 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 233 MovieClip Frame 115
_root.score = _root.score + 1;
Symbol 233 MovieClip Frame 119
_root.bad1.gotoAndStop(1);
Symbol 269 MovieClip Frame 229
_root.score = _root.score + 1;
Symbol 269 MovieClip Frame 240
_root.bad1.gotoAndStop(1);
Symbol 306 MovieClip Frame 112
_root.score = _root.score + 1;
Symbol 306 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 310 MovieClip Frame 111
_root.score = _root.score + 1;
Symbol 310 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 315 MovieClip Frame 70
_root.score = _root.score + 1;
Symbol 315 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 319 MovieClip Frame 107
_root.score = _root.score + 1;
Symbol 319 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 325 MovieClip Frame 115
_root.score = _root.score + 1;
Symbol 325 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 354 MovieClip Frame 119
_root.score = _root.score + 1;
Symbol 354 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 355 MovieClip Frame 1
_root.bad1.gotoAndStop(random(22) + 2);
Symbol 360 MovieClip Frame 120
_root.bad2.gotoAndStop(1);
Symbol 381 MovieClip Frame 119
_root.score = _root.score + 1;
Symbol 381 MovieClip Frame 120
_root.bad2.gotoAndStop(1);
Symbol 382 MovieClip Frame 1
_root.bad2.gotoAndStop(random(19) + 2);
Symbol 404 MovieClip Frame 119
_root.score = _root.score + 1;
Symbol 404 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 408 MovieClip Frame 111
_root.score = _root.score + 1;
Symbol 408 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 409 MovieClip Frame 86
_root.score = _root.score + 1;
Symbol 409 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 410 MovieClip Frame 1
_root.bad1.gotoAndStop(random(24) + 2);
Symbol 411 MovieClip Frame 112
_root.score = _root.score + 1;
Symbol 411 MovieClip Frame 120
_root.bad2.gotoAndStop(1);
Symbol 429 MovieClip Frame 119
_root.score = _root.score + 1;
Symbol 429 MovieClip Frame 120
_root.bad2.gotoAndStop(1);
Symbol 430 MovieClip Frame 1
_root.bad2.gotoAndStop(random(17) + 2);
Symbol 434 MovieClip Frame 106
_root.score = _root.score + 1;
Symbol 434 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 454 MovieClip Frame 119
_root.score = _root.score + 1;
Symbol 454 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 455 MovieClip Frame 1
_root.bad1.gotoAndStop(random(26) + 2);
Symbol 456 MovieClip Frame 1
_root.bad2.gotoAndStop(random(17) + 2);
Symbol 460 MovieClip Frame 86
_root.score = _root.score + 1;
Symbol 460 MovieClip Frame 120
_root.bad1.gotoAndStop(1);
Symbol 461 MovieClip Frame 1
_root.bad1.gotoAndStop(random(26) + 2);
Symbol 477 Button
on (release) {
_root.gotoAndStop(7);
}
Symbol 478 Button
on (release) {
_root.play();
}
Symbol 480 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 481 MovieClip Frame 111
stop();
Symbol 482 Button
on (release) {
play();
}