STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228131
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/15432036?noj=FRM15432036-15DC" width="1" height="1"></div>

To the portal - day 1.swf

This is the info page for
Flash #61394

(Click the ID number above for more basic data on this flash file.)


Text
LOADING

GO!

YOU ARE AN SWF FILE, SUBMITTED TO NEWGROUNDS. YOU
MUST MAKE IT TO THE PORTAL BEFORE YOU GET... BLAMMED!

TO THE PORTAL DAY 1

CREATED BY MOOSEISLOOSE.TK

THANKS TO RYSTIC FOR THE PLATFORMING ENGINE
(WHICH I ALTERED SLIGHTLY)

THANKS TO INGLOR FOR THAT LITTLE TINY WEENIE BIT OF
HELP YOU GAVE E WITH THE HITTEST

PLAY AGAIN?

ActionScript [AS1/AS2]

Frame 1
function itemHandler1(obj, item) { getURL ("http://mooseisloose.tk"); } var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); item1 = new ContextMenuItem("Mooseisloose Website", itemHandler1); myMenu.customItems.push(item1); _root.menu = myMenu;
Frame 2
stop();
Instance of Symbol 15 MovieClip "platform" in Frame 2
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 19 MovieClip "platform7" in Frame 2
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 20 MovieClip "platform6" in Frame 2
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 21 MovieClip "platform5" in Frame 2
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 22 MovieClip "platform4" in Frame 2
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 23 MovieClip "platform3" in Frame 2
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 24 MovieClip "platform2" in Frame 2
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 25 MovieClip "platform1" in Frame 2
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 20 MovieClip "platform9" in Frame 2
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 20 MovieClip "platform8" in Frame 2
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 28 MovieClip "chart" in Frame 2
onClipEvent (load) { fall = false; _name = "circle"; jump = 0; speed = 5; jumpheight = 15; 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 = 15; } 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 (enterFrame) { if (hitTest(_root.lvl1end)) { _root.nextFrame(); } }
Frame 3
stop();
Instance of Symbol 15 MovieClip "platform" in Frame 3
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 19 MovieClip "platform7" in Frame 3
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 20 MovieClip "platform6" in Frame 3
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 21 MovieClip "platform5" in Frame 3
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 22 MovieClip "platform4" in Frame 3
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 23 MovieClip "platform3" in Frame 3
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 24 MovieClip "platform2" in Frame 3
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 25 MovieClip "platform1" in Frame 3
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 20 MovieClip "platform9" in Frame 3
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 20 MovieClip "platform8" in Frame 3
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 28 MovieClip "chart" in Frame 3
onClipEvent (load) { fall = false; _name = "circle"; jump = 0; speed = 5; jumpheight = 15; 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 = 15; } 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 (enterFrame) { if (hitTest(_root.lvl2end)) { _root.nextFrame(); } }
Frame 4
stop();
Instance of Symbol 15 MovieClip "platform" in Frame 4
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 19 MovieClip "platform7" in Frame 4
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 20 MovieClip "platform6" in Frame 4
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 21 MovieClip "platform5" in Frame 4
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 22 MovieClip "platform4" in Frame 4
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 23 MovieClip "platform3" in Frame 4
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 24 MovieClip "platform2" in Frame 4
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 25 MovieClip "platform1" in Frame 4
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 20 MovieClip "platform9" in Frame 4
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 20 MovieClip "platform8" in Frame 4
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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 28 MovieClip "chart" in Frame 4
onClipEvent (load) { fall = false; _name = "circle"; jump = 0; speed = 5; jumpheight = 15; 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 = 15; } 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 (enterFrame) { if (hitTest(_root.lvl3end)) { _root.nextFrame(); } }
Frame 5
stop();
Instance of Symbol 15 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 19 MovieClip "platform7" 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 20 MovieClip "platform6" 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 21 MovieClip "platform5" 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 22 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 23 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 24 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 25 MovieClip "platform1" 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 20 MovieClip "platform9" 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 20 MovieClip "platform8" 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 28 MovieClip "chart" in Frame 5
onClipEvent (load) { fall = false; _name = "circle"; jump = 0; speed = 5; jumpheight = 15; 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 = 15; } 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 (enterFrame) { if (hitTest(_root.lvl4end)) { _root.nextFrame(); } }
Frame 6
stop();
Instance of Symbol 15 MovieClip "platform" 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 19 MovieClip "platform7" 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 20 MovieClip "platform6" 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 21 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 22 MovieClip "platform4" 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 23 MovieClip "platform3" 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 24 MovieClip "platform2" 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 25 MovieClip "platform1" 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 20 MovieClip "platform9" 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 20 MovieClip "platform8" 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.circle.jump * 2)) > yMin) { _root.circle._y = ymin - (_root.circle._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.circle.xmax < xmin)) { _root.circle._x = _root.circle._x - _root.circle.speed; } if (hitTest(_root.circle) && (_root.circle.xmin > xmax)) { _root.circle._x = _root.circle._x + _root.circle.speed; } if ((hitTest(_root.circle) && (_root.circle.ymin > ymax)) && (_root.circle.jump > -1)) { _root.circle.jump = -1 * _root.circle.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 28 MovieClip "chart" in Frame 6
onClipEvent (load) { fall = false; _name = "circle"; jump = 0; speed = 5; jumpheight = 15; 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 = 15; } 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 (enterFrame) { if (hitTest(_root.lvl5end)) { _root.nextFrame(); } }
Frame 7
stop();
Instance of Symbol 28 MovieClip "chart" in Frame 7
onClipEvent (load) { fall = false; _name = "circle"; jump = 0; speed = 5; jumpheight = 15; maxfall = -14; } 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 = 15; } 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 (enterFrame) { if (hitTest(_root.lvl6end)) { _root.nextFrame(); } }
Instance of Symbol 52 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 54 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 54 MovieClip "platform10" 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 54 MovieClip "platform9" 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 54 MovieClip "platform8" 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 54 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 54 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 54 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 54 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 54 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 54 MovieClip "platform7" 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; } }
Frame 8
stop();
Instance of Symbol 28 MovieClip "chart" in Frame 8
onClipEvent (load) { fall = false; _name = "circle"; jump = 0; speed = 5; jumpheight = 15; maxfall = -14; } 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 = 15; } 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 (enterFrame) { if (hitTest(_root.lvl7end)) { _root.nextFrame(); } }
Instance of Symbol 52 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 54 MovieClip "platform3" 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 54 MovieClip "platform10" 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 54 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 54 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 54 MovieClip "platform2" 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 54 MovieClip "platform1" 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 54 MovieClip "platform4" 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 54 MovieClip "platform5" 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 54 MovieClip "platform6" 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 54 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; } }
Frame 9
stop();
Instance of Symbol 28 MovieClip "chart" in Frame 9
onClipEvent (load) { fall = false; _name = "circle"; jump = 0; speed = 5; jumpheight = 15; maxfall = -14; } 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 = 15; } 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 (enterFrame) { if (hitTest(_root.lvl8end)) { _root.nextFrame(); } }
Instance of Symbol 52 MovieClip "platform" in Frame 9
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 54 MovieClip "platform3" in Frame 9
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 54 MovieClip "platform10" in Frame 9
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 54 MovieClip "platform9" in Frame 9
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 54 MovieClip "platform8" in Frame 9
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 54 MovieClip "platform2" in Frame 9
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 54 MovieClip "platform1" in Frame 9
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 54 MovieClip "platform4" in Frame 9
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 54 MovieClip "platform5" in Frame 9
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 54 MovieClip "platform6" in Frame 9
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 54 MovieClip "platform7" in Frame 9
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; } }
Frame 10
stop();
Instance of Symbol 28 MovieClip "chart" in Frame 10
onClipEvent (load) { fall = false; _name = "circle"; jump = 0; speed = 5; jumpheight = 15; maxfall = -14; } 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 = 15; } 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 (enterFrame) { if (hitTest(_root.lvl9end)) { _root.nextFrame(); } }
Instance of Symbol 52 MovieClip "platform" 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 54 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 54 MovieClip "platform10" 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 54 MovieClip "platform9" 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 54 MovieClip "platform8" 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 54 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 54 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 54 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 54 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 54 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 54 MovieClip "platform7" 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; } }
Frame 11
stop();
Instance of Symbol 28 MovieClip "chart" in Frame 11
onClipEvent (load) { fall = false; _name = "circle"; jump = 0; speed = 5; jumpheight = 15; maxfall = -14; } 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 = 15; } 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 (enterFrame) { if (hitTest(_root.lvl10end)) { _root.nextFrame(); } }
Instance of Symbol 52 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 54 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 54 MovieClip "platform10" 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 54 MovieClip "platform9" 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 54 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 54 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 54 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 54 MovieClip "platform4" 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 54 MovieClip "platform5" 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 54 MovieClip "platform6" 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 54 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; } }
Symbol 9 Button
on (release) { _root.play(); }
Symbol 10 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { setProperty(bar, _xscale , PercentLoaded); } else { gotoAndStop ("loaded"); }
Symbol 10 MovieClip Frame 2
gotoAndPlay (1);
Symbol 84 Button
on (release) { play(); }

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:10
Symbol 4 GraphicUsed by:10
Symbol 5 FontUsed by:6 8 11 12 79 80 81 83
Symbol 6 TextUses:5Used by:10
Symbol 7 GraphicUsed by:9
Symbol 8 TextUses:5Used by:9
Symbol 9 ButtonUses:7 8Used by:10
Symbol 10 MovieClipUses:3 4 6 9Used by:Timeline
Symbol 11 TextUses:5Used by:Timeline
Symbol 12 TextUses:5Used by:Timeline
Symbol 13 GraphicUsed by:Timeline
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:Timeline
Symbol 16 GraphicUsed by:17 72 73
Symbol 17 MovieClipUses:16Used by:Timeline
Symbol 18 GraphicUsed by:19 20 21 22 23 24 25
Symbol 19 MovieClipUses:18Used by:Timeline
Symbol 20 MovieClipUses:18Used by:Timeline
Symbol 21 MovieClipUses:18Used by:Timeline
Symbol 22 MovieClipUses:18Used by:Timeline
Symbol 23 MovieClipUses:18Used by:Timeline
Symbol 24 MovieClipUses:18Used by:Timeline
Symbol 25 MovieClipUses:18Used by:Timeline
Symbol 26 BitmapUsed by:27
Symbol 27 GraphicUses:26Used by:28
Symbol 28 MovieClipUses:27Used by:Timeline
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:29Used by:Timeline
Symbol 31 SoundUsed by:Timeline
Symbol 32 GraphicUsed by:Timeline
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:Timeline
Symbol 35 GraphicUsed by:Timeline
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:Timeline
Symbol 38 GraphicUsed by:Timeline
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:Timeline
Symbol 41 GraphicUsed by:Timeline
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:Timeline
Symbol 44 GraphicUsed by:49
Symbol 45 GraphicUsed by:49
Symbol 46 GraphicUsed by:49
Symbol 47 GraphicUsed by:49
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:44 45 46 47 48Used by:Timeline
Symbol 50 GraphicUsed by:Timeline
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:Timeline
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:Timeline
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:55Used by:Timeline
Symbol 57 GraphicUsed by:60
Symbol 58 GraphicUsed by:60
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:57 58 59Used by:Timeline
Symbol 61 GraphicUsed by:Timeline
Symbol 62 GraphicUsed by:71
Symbol 63 GraphicUsed by:71
Symbol 64 GraphicUsed by:71
Symbol 65 GraphicUsed by:71
Symbol 66 GraphicUsed by:71
Symbol 67 GraphicUsed by:71
Symbol 68 GraphicUsed by:71
Symbol 69 GraphicUsed by:71
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:62 63 64 65 66 67 68 69 70Used by:72
Symbol 72 MovieClipUses:16 71Used by:Timeline
Symbol 73 MovieClipUses:16Used by:Timeline
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:Timeline
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:76Used by:Timeline
Symbol 78 GraphicUsed by:Timeline
Symbol 79 TextUses:5Used by:Timeline
Symbol 80 TextUses:5Used by:Timeline
Symbol 81 TextUses:5Used by:Timeline
Symbol 82 GraphicUsed by:84
Symbol 83 TextUses:5Used by:84
Symbol 84 ButtonUses:82 83Used by:Timeline

Instance Names

"platform"Frame 2Symbol 15 MovieClip
"wall"Frame 2Symbol 17 MovieClip
"platform7"Frame 2Symbol 19 MovieClip
"platform6"Frame 2Symbol 20 MovieClip
"platform5"Frame 2Symbol 21 MovieClip
"platform4"Frame 2Symbol 22 MovieClip
"platform3"Frame 2Symbol 23 MovieClip
"platform2"Frame 2Symbol 24 MovieClip
"platform1"Frame 2Symbol 25 MovieClip
"platform9"Frame 2Symbol 20 MovieClip
"platform8"Frame 2Symbol 20 MovieClip
"chart"Frame 2Symbol 28 MovieClip
"lvl1end"Frame 2Symbol 30 MovieClip
"platform"Frame 3Symbol 15 MovieClip
"platform7"Frame 3Symbol 19 MovieClip
"platform6"Frame 3Symbol 20 MovieClip
"platform5"Frame 3Symbol 21 MovieClip
"platform4"Frame 3Symbol 22 MovieClip
"platform3"Frame 3Symbol 23 MovieClip
"platform2"Frame 3Symbol 24 MovieClip
"platform1"Frame 3Symbol 25 MovieClip
"platform9"Frame 3Symbol 20 MovieClip
"platform8"Frame 3Symbol 20 MovieClip
"chart"Frame 3Symbol 28 MovieClip
"lvl2end"Frame 3Symbol 30 MovieClip
"wall"Frame 3Symbol 34 MovieClip
"platform"Frame 4Symbol 15 MovieClip
"platform7"Frame 4Symbol 19 MovieClip
"platform6"Frame 4Symbol 20 MovieClip
"platform5"Frame 4Symbol 21 MovieClip
"platform4"Frame 4Symbol 22 MovieClip
"platform3"Frame 4Symbol 23 MovieClip
"platform2"Frame 4Symbol 24 MovieClip
"platform1"Frame 4Symbol 25 MovieClip
"platform9"Frame 4Symbol 20 MovieClip
"platform8"Frame 4Symbol 20 MovieClip
"chart"Frame 4Symbol 28 MovieClip
"lvl3end"Frame 4Symbol 30 MovieClip
"wall"Frame 4Symbol 37 MovieClip
"platform"Frame 5Symbol 15 MovieClip
"platform7"Frame 5Symbol 19 MovieClip
"platform6"Frame 5Symbol 20 MovieClip
"platform5"Frame 5Symbol 21 MovieClip
"platform4"Frame 5Symbol 22 MovieClip
"platform3"Frame 5Symbol 23 MovieClip
"platform2"Frame 5Symbol 24 MovieClip
"platform1"Frame 5Symbol 25 MovieClip
"platform9"Frame 5Symbol 20 MovieClip
"platform8"Frame 5Symbol 20 MovieClip
"chart"Frame 5Symbol 28 MovieClip
"lvl4end"Frame 5Symbol 30 MovieClip
"wall"Frame 5Symbol 40 MovieClip
"platform"Frame 6Symbol 15 MovieClip
"platform7"Frame 6Symbol 19 MovieClip
"platform6"Frame 6Symbol 20 MovieClip
"platform5"Frame 6Symbol 21 MovieClip
"platform4"Frame 6Symbol 22 MovieClip
"platform3"Frame 6Symbol 23 MovieClip
"platform2"Frame 6Symbol 24 MovieClip
"platform1"Frame 6Symbol 25 MovieClip
"platform9"Frame 6Symbol 20 MovieClip
"platform8"Frame 6Symbol 20 MovieClip
"wall"Frame 6Symbol 43 MovieClip
"lvl5end"Frame 6Symbol 49 MovieClip
"chart"Frame 6Symbol 28 MovieClip
"none"Frame 6Symbol 30 MovieClip
"chart"Frame 7Symbol 28 MovieClip
"platform"Frame 7Symbol 52 MovieClip
"platform3"Frame 7Symbol 54 MovieClip
"platform10"Frame 7Symbol 54 MovieClip
"platform9"Frame 7Symbol 54 MovieClip
"platform8"Frame 7Symbol 54 MovieClip
"platform2"Frame 7Symbol 54 MovieClip
"platform1"Frame 7Symbol 54 MovieClip
"platform4"Frame 7Symbol 54 MovieClip
"platform5"Frame 7Symbol 54 MovieClip
"platform6"Frame 7Symbol 54 MovieClip
"platform7"Frame 7Symbol 54 MovieClip
"wall"Frame 7Symbol 56 MovieClip
"lvl6end"Frame 7Symbol 30 MovieClip
"chart"Frame 8Symbol 28 MovieClip
"platform"Frame 8Symbol 52 MovieClip
"platform3"Frame 8Symbol 54 MovieClip
"platform10"Frame 8Symbol 54 MovieClip
"platform9"Frame 8Symbol 54 MovieClip
"platform8"Frame 8Symbol 54 MovieClip
"platform2"Frame 8Symbol 54 MovieClip
"platform1"Frame 8Symbol 54 MovieClip
"platform4"Frame 8Symbol 54 MovieClip
"platform5"Frame 8Symbol 54 MovieClip
"platform6"Frame 8Symbol 54 MovieClip
"platform7"Frame 8Symbol 54 MovieClip
"wall"Frame 8Symbol 72 MovieClip
"lvl7end"Frame 8Symbol 30 MovieClip
"chart"Frame 9Symbol 28 MovieClip
"platform"Frame 9Symbol 52 MovieClip
"platform3"Frame 9Symbol 54 MovieClip
"platform10"Frame 9Symbol 54 MovieClip
"platform9"Frame 9Symbol 54 MovieClip
"platform8"Frame 9Symbol 54 MovieClip
"platform2"Frame 9Symbol 54 MovieClip
"platform1"Frame 9Symbol 54 MovieClip
"platform4"Frame 9Symbol 54 MovieClip
"platform5"Frame 9Symbol 54 MovieClip
"platform6"Frame 9Symbol 54 MovieClip
"platform7"Frame 9Symbol 54 MovieClip
"lvl8end"Frame 9Symbol 30 MovieClip
"wall"Frame 9Symbol 73 MovieClip
"chart"Frame 10Symbol 28 MovieClip
"platform"Frame 10Symbol 52 MovieClip
"platform3"Frame 10Symbol 54 MovieClip
"platform10"Frame 10Symbol 54 MovieClip
"platform9"Frame 10Symbol 54 MovieClip
"platform8"Frame 10Symbol 54 MovieClip
"platform2"Frame 10Symbol 54 MovieClip
"platform1"Frame 10Symbol 54 MovieClip
"platform4"Frame 10Symbol 54 MovieClip
"platform5"Frame 10Symbol 54 MovieClip
"platform6"Frame 10Symbol 54 MovieClip
"platform7"Frame 10Symbol 54 MovieClip
"lvl9end"Frame 10Symbol 30 MovieClip
"wall"Frame 10Symbol 75 MovieClip
"chart"Frame 11Symbol 28 MovieClip
"platform"Frame 11Symbol 52 MovieClip
"platform3"Frame 11Symbol 54 MovieClip
"platform10"Frame 11Symbol 54 MovieClip
"platform9"Frame 11Symbol 54 MovieClip
"platform8"Frame 11Symbol 54 MovieClip
"platform2"Frame 11Symbol 54 MovieClip
"platform1"Frame 11Symbol 54 MovieClip
"platform4"Frame 11Symbol 54 MovieClip
"platform5"Frame 11Symbol 54 MovieClip
"platform6"Frame 11Symbol 54 MovieClip
"platform7"Frame 11Symbol 54 MovieClip
"lvl10end"Frame 11Symbol 30 MovieClip
"wall"Frame 11Symbol 77 MovieClip
"bar"Symbol 10 MovieClip Frame 1Symbol 3 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.

Labels

"loaded"Symbol 10 MovieClip Frame 3




http://swfchan.com/13/61394/info.shtml
Created: 15/4 -2019 14:42:12 Last modified: 15/4 -2019 14:42:12 Server time: 15/05 -2024 18:38:31