Frame 1
stop();
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
System.security.allowDomain("http://70.86.230.210");
Frame 2
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
current_bytes = this.getBytesLoaded();
tot_bytes = this.getBytesTotal();
percent = int((current_bytes / tot_bytes) * 100) + "% ";
if (current_bytes >= tot_bytes) {
_root.gotoAndStop("welcome");
}
Frame 3
gotoAndPlay ("loader");
Frame 11
stop();
_root.randomizer = 0;
_root.soundSetting = "on";
_root.score = 0;
_root.loading = new Sound();
_root.loading.attachSound("loading");
_root.step = new Sound();
_root.step.attachSound("step");
_root.bg = new Sound();
_root.bg.attachSound("bg");
Frame 12
stop();
_root.sliding = 0.75;
_root.ready = "yes";
_root.nextBoost = "ready";
_root.BoostPower = 0;
Instance of Symbol 88 MovieClip in Frame 12
onClipEvent (load) {
if (_root.soundSetting == "on") {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 176 MovieClip "WindControl" in Frame 12
onClipEvent (load) {
this.gotoAndPlay(Math.ceil(Math.random() * 76));
}
Instance of Symbol 179 MovieClip in Frame 12
onClipEvent (load) {
this.gotoAndStop(Math.ceil(Math.random() * 150));
_root.randomizer = this._currentframe;
}
Instance of Symbol 180 MovieClip in Frame 12
onClipEvent (load) {
this.gotoAndStop(Math.ceil(Math.random() * 150));
_root.randomizer2 = this._currentframe;
}
Frame 57
_root.gotoAndStop("jump");
Frame 58
stop();
Instance of Symbol 252 MovieClip "game" in Frame 58
onClipEvent (load) {
movie_width = 650;
}
onClipEvent (enterFrame) {
this._x = (movie_width / 2) - this.ball_clip._x;
}
Instance of Symbol 255 MovieClip in Frame 58
onClipEvent (enterFrame) {
this.y = _root.game.ball_clip._y;
}
Symbol 14 MovieClip Frame 112
_root.gotoAndPlay(2);
Symbol 41 Button
on (release) {
getURL ("http://www.ultimatearcade.com", "_blank");
}
Symbol 49 Button
on (release) {
_root.bg.start(1, 999);
_root.gotoAndStop("game");
}
Symbol 52 Button
on (release) {
if (_root.url != "yes") {
getURL ("http://www.ultimatearcade.com/arcade/games/megajump.html", "_blank");
} else {
_root.view_scores = 1;
loadMovieNum ("scores.xml", 25);
}
}
Symbol 55 Button
on (release) {
getURL ("http://www.ultimatearcade.com/", "_blank");
}
Symbol 64 Button
on (release) {
nextFrame();
}
Symbol 65 Button
on (release) {
prevFrame();
}
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
stop();
Symbol 76 Button
on (press) {
_root.bonus.gotoAndPlay(2);
if (_root.booster._currentframe == 46) {
_root.ready = "yes";
_root.booster.gotoAndStop(1);
}
if (_root.ready == "yes") {
play();
_root.GoSlide = "yes";
sliding();
}
}
on (release) {
_root.GoSlide = "no";
_root.bonus.gotoAndPlay(4);
gotoAndStop (1);
if (_root.ready == "yes") {
_root.ready = "no";
if (_root.booster._currentframe > 11) {
_root.booster.gotoAndPlay("shoot");
} else {
_root.booster.gotoAndPlay("down");
_root.BoostPower = 0;
}
}
}
Symbol 77 MovieClip Frame 1
_root.onEnterFrame = function (sliding) {
if ((_root.GoSlide == "yes") and (_root.booster._currentframe != 23)) {
if (_root.WindControl._currentframe < 15) {
_root.sliding = _root.sliding + 0.001;
}
if ((_root.WindControl._currentframe > 15) and (_root.WindControl._currentframe < 25)) {
_root.sliding = _root.sliding + 0.0022;
}
if ((_root.WindControl._currentframe > 25) and (_root.WindControl._currentframe < 35)) {
_root.sliding = _root.sliding + 0.003;
}
if ((_root.WindControl._currentframe > 35) and (_root.WindControl._currentframe < 45)) {
_root.sliding = _root.sliding + 0.005;
}
if ((_root.WindControl._currentframe > 45) and (_root.WindControl._currentframe < 55)) {
_root.sliding = _root.sliding + 0.01;
}
if ((_root.WindControl._currentframe > 55) and (_root.WindControl._currentframe < 65)) {
_root.sliding = _root.sliding + 0.0035;
}
if ((_root.WindControl._currentframe > 65) and (_root.WindControl._currentframe < 80)) {
_root.sliding = _root.sliding + 0.002;
}
}
};
stop();
Symbol 77 MovieClip Frame 2
if (_root.booster._currentframe != 23) {
_root.booster.nextFrame();
_root.BoostPower = _root.BoostPower + 2;
} else {
_root.BoostPower = 20;
}
Symbol 77 MovieClip Frame 3
if (_root.booster._currentframe == 46) {
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 79 MovieClip Frame 1
stop();
_root.bonustime = 0;
Symbol 79 MovieClip Frame 2
_root.bonustime = _root.bonustime + 1.5;
Symbol 79 MovieClip Frame 3
gotoAndPlay (2);
Symbol 79 MovieClip Frame 4
stop();
Symbol 83 Button
on (release) {
_root.soundSetting = "off";
_root.bg.stop();
gotoAndStop (2);
}
Symbol 86 Button
on (release) {
_root.soundSetting = "on";
_root.bg.start(1, 999);
gotoAndStop (1);
}
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 2
stop();
Symbol 97 MovieClip Frame 23
stop();
Symbol 166 MovieClip Frame 1
stop();
powerbar.gotoAndStop(1);
Symbol 166 MovieClip Frame 2
powerbar.gotoAndStop(2);
Symbol 166 MovieClip Frame 3
powerbar.gotoAndStop(3);
Symbol 166 MovieClip Frame 4
powerbar.gotoAndStop(4);
_root.loading.start();
Symbol 166 MovieClip Frame 5
powerbar.gotoAndStop(5);
Symbol 166 MovieClip Frame 6
powerbar.gotoAndStop(6);
Symbol 166 MovieClip Frame 7
powerbar.gotoAndStop(7);
Symbol 166 MovieClip Frame 8
powerbar.gotoAndStop(8);
Symbol 166 MovieClip Frame 9
powerbar.gotoAndStop(9);
Symbol 166 MovieClip Frame 10
powerbar.gotoAndStop(10);
Symbol 166 MovieClip Frame 11
powerbar.gotoAndStop(11);
Symbol 166 MovieClip Frame 12
powerbar.gotoAndStop(12);
Symbol 166 MovieClip Frame 13
powerbar.gotoAndStop(13);
Symbol 166 MovieClip Frame 14
powerbar.gotoAndStop(14);
Symbol 166 MovieClip Frame 15
powerbar.gotoAndStop(15);
Symbol 166 MovieClip Frame 16
powerbar.gotoAndStop(16);
Symbol 166 MovieClip Frame 17
powerbar.gotoAndStop(17);
Symbol 166 MovieClip Frame 18
powerbar.gotoAndStop(18);
Symbol 166 MovieClip Frame 19
powerbar.gotoAndStop(19);
Symbol 166 MovieClip Frame 20
powerbar.gotoAndStop(20);
Symbol 166 MovieClip Frame 21
powerbar.gotoAndStop(21);
Symbol 166 MovieClip Frame 22
powerbar.gotoAndStop(22);
Symbol 166 MovieClip Frame 23
powerbar.gotoAndStop(23);
Symbol 166 MovieClip Frame 24
play();
Symbol 166 MovieClip Frame 35
stop();
_root.gotoAndPlay("animation");
Symbol 166 MovieClip Frame 36
prevFrame();
Symbol 166 MovieClip Frame 41
play();
powerbar.gotoAndStop(1);
Symbol 166 MovieClip Frame 46
stop();
_root.bonus.gotoAndStop(1);
_root.sliding = 0.75;
_root.loading.stop();
Symbol 176 MovieClip Frame 1
_root.wind = 7;
Symbol 176 MovieClip Frame 2
_root.wind = 8;
Symbol 176 MovieClip Frame 3
_root.wind = 9;
Symbol 176 MovieClip Frame 4
_root.wind = 10;
Symbol 176 MovieClip Frame 5
_root.wind = 11;
Symbol 176 MovieClip Frame 6
_root.wind = 12;
Symbol 176 MovieClip Frame 7
_root.wind = 13;
Symbol 176 MovieClip Frame 8
_root.wind = 14;
Symbol 176 MovieClip Frame 9
_root.wind = 15;
Symbol 176 MovieClip Frame 10
_root.wind = 16;
Symbol 176 MovieClip Frame 11
_root.wind = 17;
Symbol 176 MovieClip Frame 12
_root.wind = 18;
Symbol 176 MovieClip Frame 13
_root.wind = 19;
Symbol 176 MovieClip Frame 14
_root.wind = 20;
Symbol 176 MovieClip Frame 37
_root.wind = 20;
Symbol 176 MovieClip Frame 38
_root.wind = 21;
Symbol 176 MovieClip Frame 39
_root.wind = 22;
Symbol 176 MovieClip Frame 40
_root.wind = 23;
Symbol 176 MovieClip Frame 41
_root.wind = 24;
Symbol 176 MovieClip Frame 42
_root.wind = 25;
Symbol 176 MovieClip Frame 43
_root.wind = 26;
Symbol 176 MovieClip Frame 44
_root.wind = 27;
Symbol 176 MovieClip Frame 45
_root.wind = 28;
Symbol 176 MovieClip Frame 46
_root.wind = 29;
Symbol 176 MovieClip Frame 47
_root.wind = 30;
Symbol 176 MovieClip Frame 48
_root.wind = 32;
Symbol 176 MovieClip Frame 49
_root.wind = 34;
Symbol 176 MovieClip Frame 50
_root.wind = 37;
Symbol 176 MovieClip Frame 51
_root.wind = 39;
Symbol 176 MovieClip Frame 52
_root.wind = 40;
Symbol 176 MovieClip Frame 53
_root.wind = 39;
Symbol 176 MovieClip Frame 54
_root.wind = 37;
Symbol 176 MovieClip Frame 55
_root.wind = 34;
Symbol 176 MovieClip Frame 56
_root.wind = 32;
Symbol 176 MovieClip Frame 57
_root.wind = 30;
Symbol 176 MovieClip Frame 58
_root.wind = 29;
Symbol 176 MovieClip Frame 59
_root.wind = 28;
Symbol 176 MovieClip Frame 60
_root.wind = 27;
Symbol 176 MovieClip Frame 61
_root.wind = 26;
Symbol 176 MovieClip Frame 62
_root.wind = 25;
Symbol 176 MovieClip Frame 63
_root.wind = 24;
Symbol 176 MovieClip Frame 64
_root.wind = 23;
Symbol 176 MovieClip Frame 65
_root.wind = 22;
Symbol 176 MovieClip Frame 66
_root.wind = 21;
Symbol 176 MovieClip Frame 67
_root.wind = 20;
Symbol 176 MovieClip Frame 68
_root.wind = 19;
Symbol 176 MovieClip Frame 69
_root.wind = 18;
Symbol 176 MovieClip Frame 70
_root.wind = 17;
Symbol 176 MovieClip Frame 71
_root.wind = 16;
Symbol 176 MovieClip Frame 72
_root.wind = 15;
Symbol 176 MovieClip Frame 73
_root.wind = 14;
Symbol 176 MovieClip Frame 74
_root.wind = 13;
Symbol 176 MovieClip Frame 75
_root.wind = 12;
Symbol 176 MovieClip Frame 76
_root.wind = 11;
Symbol 176 MovieClip Frame 77
_root.wind = 10;
Symbol 176 MovieClip Frame 78
_root.wind = 9;
Symbol 176 MovieClip Frame 79
_root.wind = 8;
Symbol 176 MovieClip Frame 80
_root.wind = 7;
Symbol 184 MovieClip Frame 10
stop();
Symbol 193 Button
on (release) {
_root.bg.stop();
_root.gotoAndPlay("loader");
}
Symbol 200 Button
on (release) {
_root.view_scores = 1;
loadMovieNum ("http://70.86.230.210/kidzbop/MegaJumpScores.swf", 25);
}
Symbol 201 MovieClip Frame 1
_root.view_scores = 2;
loadMovieNum ("http://70.86.230.210/kidzbop/MegaJumpScores.swf", 25);
gotoAndStop (2);
stop();
Symbol 201 MovieClip Frame 2
stop();
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 2
_level1.scoreBox.score = _root.score;
_level1.scoreBox.postData();
stop();
Symbol 220 MovieClip Frame 1
play();
Symbol 220 MovieClip Frame 3
stop();
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 2
stop();
Symbol 227 Button
on (rollOver) {
_root.game.dude.gotoAndStop(4);
}
on (release) {
_root.randomizer = 0;
_root.nextBoost = "ready";
_root.gotoAndStop("game");
}
Symbol 233 Button
on (rollOver) {
_root.game.dude.gotoAndStop(4);
}
on (release) {
_root.randomizer = 0;
_root.nextBoost = "ready";
_root.gotoAndStop("game");
}
Instance of Symbol 229 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (enterFrame) {
this.x = (((_root.game.ball_clip._x - _root.bonustime) + _root.randomizer) * 10) - _root.randomizer2;
if (this.x > _root.score) {
_root.score = this.x;
}
}
Symbol 245 MovieClip Frame 66
gotoAndPlay (5);
Symbol 248 MovieClip Frame 1
play();
Symbol 250 MovieClip Frame 1
play();
Symbol 250 MovieClip Frame 65
stop();
_root.nextBoost = "notready";
_root.game.dude.stats._visible = 1;
Instance of Symbol 234 MovieClip "stats" in Symbol 251 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 252 MovieClip Frame 1
function setTempPosition() {
ball.ymov = ball.ymov + gravity;
ball.tempx = ball.x + ball.xmov;
ball.tempy = ball.y + ball.ymov;
}
function render() {
ball.y = ball.tempy;
ball.x = ball.tempx;
ball.clip._x = ball.x;
ball.clip._y = ball.y;
}
function ballWallDetection() {
if ((ball.tempy + ball.radius) > bottom) {
ball.tempy = bottom - ball.radius;
ball.ymov = ball.ymov * (-1 * decay);
ball.xmov = ball.xmov * decay;
} else if ((ball.tempy - ball.radius) < top) {
ball.tempy = top + ball.radius;
ball.ymov = ball.ymov * (-1 * decay);
ball.xmov = ball.xmov * decay;
}
if ((ball.tempx - ball.radius) < left) {
ball.tempx = left + ball.radius;
ball.xmov = ball.xmov * (-1 * decay);
playSound(ball.tempx, ball.xmov);
} else if ((ball.tempx + ball.radius) > right) {
ball.tempx = right - ball.radius;
ball.xmov = ball.xmov * (-1 * decay);
}
}
ball = {};
ball.clip = ball_clip;
ball.y = ball.clip._y;
ball.x = ball.clip._x;
ball.radius = ball.clip._width / 2;
ball.ymov = _root.wind;
ball.xmov = _root.BoostPower;
gravity = 4;
decay = _root.sliding;
bottom = bottom_clip._y;
top = top_clip._y;
left = left_clip._x;
right = right_clip._x;
_root.onEnterFrame = function () {
setTempPosition();
ballWallDetection();
render();
};
Instance of Symbol 213 MovieClip "bottom_clip" in Symbol 252 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 215 MovieClip "left_clip" in Symbol 252 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 215 MovieClip "right_clip" in Symbol 252 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 213 MovieClip "top_clip" in Symbol 252 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 217 MovieClip "ball_clip" in Symbol 252 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 221 MovieClip "shadows" in Symbol 252 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.game.ball_clip._x + 5;
}
onClipEvent (load) {
this._y = 155;
}
Instance of Symbol 251 MovieClip "dude" in Symbol 252 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.game.ball_clip._x;
this._y = _root.game.ball_clip._y - 10;
if ((_root.game.ball_clip._y > 114) and (_root.game.ball.xmov > 7)) {
_root.step.start();
}
if (_root.nextBoost == "ready") {
if (_root.game.ball_clip._y > 50) {
this.gotoAndStop(3);
_root.game.shadows.gotoAndStop(1);
} else {
this.gotoAndStop(2);
_root.game.shadows.gotoAndStop(2);
}
}
}