Frame 1
function itemHandler1(obj, item) {
getURL ("http://mooseisloose.co.uk");
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
item1 = new ContextMenuItem("mooseisloose", itemHandler1);
myMenu.customItems.push(item1);
_root.menu = myMenu;
Frame 2
stop();
Frame 3
stop();
Instance of Symbol 98 MovieClip "platform" in Frame 5
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 100 MovieClip "platform2" in Frame 5
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 "platform3" in Frame 5
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 "platform4" in Frame 5
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 114 MovieClip "chart" in Frame 5
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 5;
jumpheight = 20;
maxfall = -15;
}
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 (5);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (6);
} else if (Key.isDown(40)) {
gotoAndStop (7);
} else {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.lvl1end)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.death)) {
_root.life.play();
_y = 272;
_x = 26;
}
}
Instance of Symbol 102 MovieClip "platform5" in Frame 6
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 114 MovieClip "chart" in Frame 6
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 5;
jumpheight = 20;
maxfall = -15;
}
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 (5);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (6);
} else if (Key.isDown(40)) {
gotoAndStop (7);
} else {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.lvl2end)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.death)) {
_root.life.play();
_y = 280;
_x = 22;
}
}
Instance of Symbol 102 MovieClip "platform868" 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 "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 114 MovieClip "chart" in Frame 7
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 5;
jumpheight = 20;
maxfall = -15;
}
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 (5);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (6);
} else if (Key.isDown(40)) {
gotoAndStop (7);
} else {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.lvl3end)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.death)) {
_root.life.play();
_y = 272;
_x = 26;
}
}
Instance of Symbol 102 MovieClip "platform9" 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 114 MovieClip "chart" in Frame 8
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 5;
jumpheight = 20;
maxfall = -15;
}
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 (5);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (6);
} else if (Key.isDown(40)) {
gotoAndStop (7);
} else {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.lvl4end)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.death)) {
_root.life.play();
_y = 2;
_x = 10;
}
}
Instance of Symbol 114 MovieClip "chart" in Frame 9
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 5;
jumpheight = 20;
maxfall = -15;
}
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 (5);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (6);
} else if (Key.isDown(40)) {
gotoAndStop (7);
} else {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.lvl5end)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.death)) {
_root.life.play();
_y = 141;
_x = 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.segwaybaddie)) {
_root.life.play();
_y = 141;
_x = 10;
}
}
Instance of Symbol 114 MovieClip "chart" in Frame 10
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 5;
jumpheight = 20;
maxfall = -15;
}
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 (5);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (6);
} else if (Key.isDown(40)) {
gotoAndStop (7);
} else {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.lvl6end)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.death)) {
_root.life.play();
_y = 141;
_x = 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.swirlyspike)) {
_root.life.play();
_y = 282;
_x = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.swirlyspike2)) {
_root.life.play();
_y = 282;
_x = 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.swirlyspike3)) {
_root.life.play();
_y = 282;
_x = 1;
}
}
Instance of Symbol 144 MovieClip "platform1" 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 146 MovieClip "platform2" 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 148 MovieClip "platform3" 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 114 MovieClip "chart" in Frame 11
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 5;
jumpheight = 20;
maxfall = -15;
}
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 (5);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (6);
} else if (Key.isDown(40)) {
gotoAndStop (7);
} else {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.lvl7end)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.death)) {
_root.life.play();
_y = 141;
_x = 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.health)) {
_root.life.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.health)) {
_root.health.play();
}
}
Instance of Symbol 114 MovieClip "chart" in Frame 12
onClipEvent (load) {
fall = false;
_name = "circle";
jump = 0;
speed = 5;
jumpheight = 20;
maxfall = -15;
}
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 (5);
} else if (Key.isDown(37)) {
_x = (_x - speed);
gotoAndStop (6);
} else if (Key.isDown(40)) {
gotoAndStop (7);
} else {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.lvl8end)) {
_root.nextFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.death)) {
_root.life.play();
_y = 141;
_x = 10;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.unlock)) {
_root.nextFrame();
}
}
Symbol 18 Button
on (release) {
_root.play();
}
Symbol 19 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 19 MovieClip Frame 2
gotoAndPlay (1);
Symbol 64 Button
on (release) {
_root.play();
}
Symbol 65 MovieClip Frame 143
_root.play();
stop();
Symbol 69 Button
on (release) {
getURL ("http://armorgames.com", "_blank");
}
Symbol 70 Button
on (release) {
getURL ("http://mooseisloose.co.uk", "_blank");
}
Symbol 74 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 96 Button
on (release) {
prevFrame();
}
Symbol 110 MovieClip Frame 1
play();
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
stop();
Symbol 114 MovieClip Frame 3
stop();
Symbol 114 MovieClip Frame 4
stop();
Symbol 114 MovieClip Frame 5
stop();
Symbol 114 MovieClip Frame 6
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
stop();
Symbol 121 MovieClip Frame 3
stop();
Symbol 121 MovieClip Frame 4
stop();
Symbol 121 MovieClip Frame 5
stop();
Symbol 121 MovieClip Frame 6
_root.gotoAndStop(4);
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 2
stop();
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
stop();
Symbol 164 Button
on (release) {
gotoAndStop (5);
}