Frame 1
var myContextMenu = new ContextMenu();
myContextMenu.builtInItems.forward_back = false;
myContextMenu.builtInItems.play = false;
myContextMenu.builtInItems.loop = false;
myContextMenu.builtInItems.rewind = false;
myContextMenu.builtInItems.save = false;
this.menu = myContextMenu;
Instance of Symbol 39 MovieClip "loadbar" in Frame 1
onClipEvent (load) {
_root.stop();
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
pfixEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(pfixEnd, domain.length);
}
onClipEvent (enterFrame) {
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
PercentLoaded = Math.round(PercentLoaded);
_root.textnum = PercentLoaded;
_root.loadbar.bar._yscale = 100 - PercentLoaded;
} else {
_root.gotoAndStop(36);
}
}
Frame 2
var wallnumx = 4;
var wallnumy = 3;
var endnum = 3;
var movearx = new Array();
var moveary = new Array();
i = 0;
while (i < wallnumx) {
movearx.push("wall" + i);
_root["wall" + i]._alpha = 0;
i++;
}
r = 0;
while (r < wallnumy) {
moveary.push("wally" + r);
_root["wally" + r]._alpha = 0;
r++;
}
var tokennum = 5;
var tokenar = new Array();
w = 0;
while (w < tokennum) {
tokenar.push("token" + w);
w++;
}
var bglimitsx = screen._xscale;
var bglimitsy = screen._yscale;
_root.ball.gotoAndStop(1);
_root.ball.showep = true;
cam.pausedmc._visible = false;
_root.ball.movieplaying = false;
_root.ball.lives = 4;
_root.ball.points = 0;
Instance of Symbol 96 MovieClip "ball" in Frame 2
onClipEvent (load) {
var vx = 0;
var vy = 0;
var time = 0;
var lev = 2;
var game = false;
var gamepaused = false;
var canunpause = false;
var movieplaying = true;
gotoAndStop (1);
_root.timebonusmc._visible = false;
var showep = true;
var epcount = 130;
var epstop = false;
_root.entryportal.gotoAndStop(130);
_visible = false;
this.swapDepths(_root.entryportal);
var friction = 0.8;
var airfriction = 0.99;
var gravity = 1.5;
var gravityon = true;
var jump = false;
var jumpheight = 20;
var speed = 1.8;
var speedef = 1.8;
var spdincrease = 1.02;
var air = false;
var canjump = false;
var bouncenum = 0;
var bounce = false;
var bouncecount = 0;
var airtime = 0;
var splashspeed = 0;
var turnL = false;
var turnR = true;
var above = false;
var once = false;
var headonce = false;
var hittedy = false;
var hittedx = false;
var end = false;
var count = 0;
var county = 0;
var bouncelow = false;
var lowcount = 0;
var bouncesound = new Sound();
bouncesound.attachSound("boing");
var shapesound = new Sound();
shapesound.attachSound("plop");
var supersound = new Sound();
supersound.attachSound("supersound");
var lowsound = new Sound();
lowsound.attachSound("lowbounce");
var splashsound = new Sound();
splashsound.attachSound("splashbounce");
var ouchsound = new Sound();
ouchsound.attachSound("ouch");
var lifesound = new Sound();
lifesound.attachSound("oneup");
var collectsound = new Sound();
collectsound.attachSound("collect");
var portalsound = new Sound();
portalsound.attachSound("portal");
var deadsound = new Sound();
deadsound.attachSound("ohdear");
var objectar = new Array();
var objectcountar = new Array();
var lives = 4;
var num = 0;
_root.headblok._alpha = 0;
_root.dude._alpha = 0;
var points = 0;
var startpoints = 0;
var reached1 = false;
var reached2 = false;
var reached3 = false;
var reached4 = false;
var reached5 = false;
var timebonus = 0;
var gametime = 0;
var readit = false;
var hintson = true;
var musicon = true;
var learnedsplash = false;
var learnedsuper = false;
var learnedlow = false;
var autozoom1 = 3;
var autozoom2 = 2;
var xcamlimit = 197;
var hittingsomething = false;
var zoomnum = 4;
var hitspikes = false;
var spikecounter = 0;
var dead = false;
var deadcounter = 0;
}
onClipEvent (enterFrame) {
_root.cam.levels.thelevel.text = "Level " + (lev - 1);
if (movieplaying == false) {
if (game == true) {
if (Key.isDown(13)) {
if (gamepaused == false) {
gamepaused = true;
if (_root.ball.hitTest(_root.hints)) {
_root.cam.hintsmc.gotoAndStop(_root.ball.lev);
} else {
_root.cam.pausedmc._visible = true;
}
}
if ((gamepaused == true) and (canunpause == true)) {
gamepaused = false;
_root.cam.pausedmc._visible = false;
if (_root.cam.hintsmc._currentframe != 1) {
_root.cam.hintsmc.gotoAndStop(1);
}
}
} else if (gamepaused == true) {
canunpause = true;
} else if (gamepaused == false) {
canunpause = false;
}
}
if (gamepaused == false) {
if (showep == true) {
_root.entryportal._visible = true;
_root.entryportal._y = _root.entryportal._y - vy;
_root.entryportal._x = _root.entryportal._x - vx;
if (_root.entryportal._currentframe < 95) {
epstop = true;
_root.entryportal.gotoAndPlay(95);
_visible = true;
game = true;
} else if (epstop == false) {
epcount = epcount - 1;
_root.entryportal.gotoAndStop(epcount);
}
if (_root.entryportal._currentframe == 130) {
showep = false;
epstop = false;
epcount = 130;
_root.entryportal._visible = false;
}
}
if (game == true) {
gametime = gametime + 1;
_root.cam.scores.text = points;
if (air == false) {
vx = vx * friction;
} else {
vx = vx * airfriction;
}
if (Math.abs(vx) < 0.5) {
vx = 0;
}
if (vy > 30) {
vy = 30;
} else if (vy < -30) {
vy = -30;
}
if (vx > 30) {
vx = 30;
} else if (vx < -30) {
vx = -30;
}
if ((vx > 10) or (vx < -10)) {
spdincrease = 1;
} else {
spdincrease = 1.02;
}
vx = vx * 10;
vx = Math.round(vx);
vx = vx / 10;
vy = vy * 10;
vy = Math.round(vy);
vy = vy / 10;
if (_root.moveary.length > 0) {
u = 0;
while (u < _root.moveary.length) {
_root[_root.moveary[u]]._x = _root[_root.moveary[u]]._x - vx;
_root[_root.moveary[u]]._y = _root[_root.moveary[u]]._y - vy;
u++;
}
}
if (_root.movearx.length > 0) {
i = 0;
while (i < _root.movearx.length) {
_root[_root.movearx[i]]._x = _root[_root.movearx[i]]._x - vx;
_root[_root.movearx[i]]._y = _root[_root.movearx[i]]._y - vy;
i++;
}
}
if (objectar.length > 0) {
s = 0;
while (s < objectar.length) {
_root[objectar[s]]._x = _root[objectar[s]]._x - vx;
_root[objectar[s]]._y = _root[objectar[s]]._y - vy;
_root[objectar[s]]._y = _root[objectar[s]]._y - 1;
objectcountar[s] = objectcountar[s] + 1;
if (objectcountar[s] == 99) {
removeMovieClip(_root[objectar[s]]);
objectar.shift();
objectcountar.shift();
}
s++;
}
}
if (_root.spikear.length > 0) {
t = 0;
while (t < _root.spikear.length) {
_root[_root.spikear[t]]._x = _root[_root.spikear[t]]._x - vx;
_root[_root.spikear[t]]._y = _root[_root.spikear[t]]._y - vy;
t++;
}
}
if (_root.tokenar.length > 0) {
d = 0;
while (d < _root.tokenar.length) {
_root[_root.tokenar[d]]._x = _root[_root.tokenar[d]]._x - vx;
_root[_root.tokenar[d]]._y = _root[_root.tokenar[d]]._y - vy;
d++;
}
}
if (_root.gtokenar.length > 0) {
c = 0;
while (c < _root.gtokenar.length) {
_root[_root.gtokenar[c]]._x = _root[_root.gtokenar[c]]._x - vx;
_root[_root.gtokenar[c]]._y = _root[_root.gtokenar[c]]._y - vy;
c++;
}
}
if (_root.zoomar.length > 0) {
n = 0;
while (n < _root.zoomar.length) {
_root[_root.zoomar[n]]._x = _root[_root.zoomar[n]]._x - vx;
_root[_root.zoomar[n]]._y = _root[_root.zoomar[n]]._y - vy;
n++;
}
}
_root.portal._y = _root.portal._y - vy;
_root.portal._x = _root.portal._x - vx;
_root.graphic1._y = _root.graphic1._y - vy;
_root.graphic1._x = _root.graphic1._x - vx;
_root.graphic2._y = _root.graphic2._y - vy;
_root.graphic2._x = _root.graphic2._x - vx;
_root.hints._y = _root.hints._y - vy;
_root.hints._x = _root.hints._x - vx;
_root.screen._y = _root.screen._y - (vy / 11);
_root.screen._x = _root.screen._x - (vx / 11);
if ((_root.ball.hitTest(_root.hints) and (readit == false)) and (hintson == true)) {
_root.cam.hintsmc.gotoAndStop(lev);
gamepaused = true;
readit = true;
}
h = 0;
while (h < _root.tokenar.length) {
if (_root.ball.hitTest(_root["token" + h]) and (_root["token" + h]._currentframe == 1)) {
points = points + 400;
_root["token" + h].gotoAndPlay(2);
if (musicon) {
collectsound.start();
}
break;
}
h++;
}
b = 0;
while (b < _root.gtokenar.length) {
if (_root.ball.hitTest(_root["gtoken" + b]) and (_root["gtoken" + b]._currentframe == 1)) {
points = points + 5000;
_root["gtoken" + b].gotoAndPlay(2);
if (musicon) {
collectsound.start();
}
break;
}
b++;
}
if (_root.dude.hitTest(_root.portal)) {
game = false;
_root.portal.gotoAndStop(2);
_alpha = 0;
if (musicon) {
portalsound.start();
}
timebonus = Math.round(((lev - 1) * 10000) / (gametime / 32));
points = points + timebonus;
_root.timebonusmc.gotoAndPlay(2);
_root.cam.scores.text = points;
_root.timebonusmc.timebonustxt.text = "+" + timebonus;
_root.timebonusmc._visible = true;
}
if ((points >= 25000) and (reached1 == false)) {
_root.lifeup.gotoAndPlay(1);
reached1 = true;
lives = lives + 1;
if (musicon) {
lifesound.start();
}
}
if ((points >= 50000) and (reached2 == false)) {
_root.lifeup.gotoAndPlay(1);
reached2 = true;
lives = lives + 1;
if (musicon) {
lifesound.start();
}
}
if ((points >= 85000) and (reached3 == false)) {
_root.lifeup.gotoAndPlay(1);
reached3 = true;
lives = lives + 1;
if (musicon) {
lifesound.start();
}
}
if ((points >= 135000) and (reached4 == false)) {
_root.lifeup.gotoAndPlay(1);
reached4 = true;
lives = lives + 1;
if (musicon) {
lifesound.start();
}
}
if ((points >= 200000) and (reached5 == false)) {
_root.lifeup.gotoAndPlay(1);
reached5 = true;
lives = lives + 1;
if (musicon) {
lifesound.start();
}
}
s = 0;
while (s < _root.spikear.length) {
if (_root.dude.hitTest(_root["spike" + s]) and (hitspikes == false)) {
hitspikes = true;
if (musicon) {
ouchsound.start();
}
vy = 0;
vy = vy - 20;
if (_root.cam.lives._currentframe == 1) {
_root.cam.lives.gotoAndStop(2);
} else {
dead = true;
game = false;
if (musicon) {
deadsound.start();
}
}
break;
}
s++;
}
if (hitspikes == true) {
spikecounter = spikecounter + 1;
if (spikecounter > 14) {
spikecounter = 0;
hitspikes = false;
}
}
_root.cam.livestext.text = lives;
hittedy = false;
if ((county != 3) or (county > 3)) {
county = county + 1;
}
if (_root.moveary.length > 0) {
t = 0;
while (t < _root.moveary.length) {
if (hittedx == false) {
if (_root.dude.hitTest(_root["wally" + t])) {
p = 0;
if (p < _root.movearx.length) {
if (((_root.dude.hitTest(_root["wall" + p]) == false) and (hittedy == false)) and (county == 3)) {
hittedy = true;
if (vy < 0) {
vx = vx * -1.1;
vy = vy - Math.abs(vx);
if (musicon) {
bouncesound.start();
}
} else if (canjump == false) {
if (learnedsuper != false) {
vx = vx * -2;
duplicateMovieClip (_root.superbounce, "superbounce" + num, _root.getNextHighestDepth());
if (musicon) {
supersound.start();
}
objectar.push("superbounce" + num);
objectcountar.push(1);
_root["superbounce" + num]._x = _x;
_root["superbounce" + num]._y = _y;
num = num + 1;
} else {
vx = vx * -1.3;
if (musicon) {
bouncesound.start();
}
}
} else {
vx = vx * -1.3;
if (musicon) {
bouncesound.start();
}
}
county = 0;
} else {
hittedy = false;
}
}
if (vx == 0) {
hittedy = false;
}
if (Math.abs(vx) < 0.3) {
vx = vx * 2;
}
speed = speedef;
break;
}
} else if (_root.dude.hitTest(_root["wally" + t])) {
vx = vx * -2;
speed = speedef;
if (learnedlow != false) {
bouncelow = true;
}
if (learnedlow == false) {
if (musicon) {
bouncesound.start();
}
}
break;
}
t++;
}
}
if (learnedlow != false) {
if ((vy == 0) and (bouncelow == true)) {
lowcount = lowcount + 1;
if (lowcount == 2) {
if (musicon) {
bouncesound.start();
}
bouncelow = false;
lowcount = 0;
}
} else if ((vy != 0) and (bouncelow == true)) {
lowcount = lowcount - 1;
if (lowcount == -2) {
duplicateMovieClip (_root.lowbounce, "lowbounce" + num, _root.getNextHighestDepth());
vx = vx * 2;
objectar.push("lowbounce" + num);
objectcountar.push(1);
_root["lowbounce" + num]._x = _x;
_root["lowbounce" + num]._y = _y;
if (musicon) {
lowsound.start();
}
bouncelow = false;
lowcount = 0;
num = num + 1;
}
}
}
once = false;
hittedx = false;
if (_root.movearx.length > 0) {
k = 0;
while (k < _root.movearx.length) {
if (k == _root.endnum) {
end = true;
} else {
end = false;
}
if (hittedy == false) {
if (_root.headblok.hitTest(_root["wall" + k]) and (headonce == false)) {
vy = 0;
gravityon = true;
headonce = true;
vy = 5;
break;
}
if (_root.dude.hitTest(_root["wall" + k])) {
if (bounce == false) {
bounce = true;
bouncenum = vy * 0.8;
bouncecount = 0;
} else {
bouncecount = bouncecount + 1;
}
vy = 0;
air = false;
hittedx = true;
if (above == false) {
vy = _root["wall" + k]._y - _root.dude._y;
trace(vy);
above = true;
}
if (learnedsplash != false) {
if (Key.isDown(40) and (bouncecount == 2)) {
if (bouncenum > 9) {
if (musicon) {
splashsound.start();
}
vy = vy - bouncenum;
vx = vx * 1.95;
splashspeed = Math.abs(vx * 0.5);
if ((vx < -7) and (vx > -13)) {
vx = vx - splashspeed;
} else if ((vx > 7) and (vx < 13)) {
vx = vx + splashspeed;
}
duplicateMovieClip (_root.splashbounce, "splashbounce" + num, _root.getNextHighestDepth());
objectar.push("splashbounce" + num);
objectcountar.push(1);
_root["splashbounce" + num]._x = _x;
_root["splashbounce" + num]._y = _y;
num = num + 1;
}
bounce = false;
}
if (Key.isDown(40) == false) {
bounce = false;
}
}
break;
}
if (((_root.dude.hitTest(_root["wall" + k]) == false) and (once == false)) and (end == true)) {
once = true;
gravityon = true;
above = false;
hittedx = false;
air = true;
bounce = false;
gotoAndStop (1);
}
}
k++;
}
}
if (gravityon == true) {
gravityon = false;
vy = vy + gravity;
} else {
headonce = false;
}
if ((vx == 0) and (vy == 0)) {
count = count + 1;
if (count == 10) {
gotoAndStop (2);
if (musicon) {
shapesound.start();
}
}
} else {
count = 0;
gotoAndStop (1);
}
if ((Key.isDown(38) and (air == false)) and (canjump == true)) {
air = true;
vy = vy - jumpheight;
above = false;
bounce = false;
gotoAndStop (1);
}
if (Key.isDown(38)) {
canjump = false;
} else {
canjump = true;
}
if (Key.isDown(39) and (air == false)) {
vx = vx + speed;
if (air == false) {
speed = speed * spdincrease;
}
if (turnR == false) {
_xscale = (-_xscale);
speed = speedef;
turnR = true;
turnL = false;
}
} else if (turnL == false) {
speed = speedef;
}
if (Key.isDown(37) and (air == false)) {
vx = vx - speed;
if (air == false) {
speed = speed * spdincrease;
}
if (turnL == false) {
_xscale = (-_xscale);
speed = speedef;
turnL = true;
turnR = false;
}
} else if (turnR == false) {
speed = speedef;
}
} else if (showep == false) {
if (objectar.length > 0) {
s = 0;
while (s < objectar.length) {
_root[objectar[s]]._y = _root[objectar[s]]._y - 1;
objectcountar[s] = objectcountar[s] + 1;
if (objectcountar[s] == 99) {
removeMovieClip(_root[objectar[s]]);
objectar.shift();
objectcountar.shift();
}
s++;
}
}
gametime = 0;
if (dead == false) {
time = time + 1;
if (time == 145) {
lev = lev + 1;
vx = 0;
vy = 0;
_root.gotoAndStop(25);
_alpha = 100;
time = 0;
}
} else {
gotoAndStop (3);
deadcounter = deadcounter + 1;
if (deadcounter == 99) {
_root.gotoAndStop(24);
deadcounter = 0;
}
}
}
}
hittingsomething = false;
j = 0;
while (j < _root.zoomar.length) {
if (_root.ball.hitTest(_root["zoom" + j])) {
hittingsomething = true;
break;
}
j++;
}
if ((hittingsomething == false) or (_root.ball._currentframe == 3)) {
_root.cam._xscale = _root.cam._xscale - autozoom1;
_root.cam._yscale = _root.cam._yscale - autozoom1;
_root.screen._xscale = _root.screen._xscale - autozoom2;
_root.screen._yscale = _root.screen._yscale - autozoom2;
_root.limits.stop1 = false;
if ((lev == 4) and (_root.cam._y != 200)) {
_root.cam._y = _root.cam._y - 6;
}
if ((lev == 6) and (_root.cam._y != 200)) {
_root.cam._y = _root.cam._y - 6;
}
if ((lev == 9) and (_root.cam._y != 200)) {
_root.cam._y = _root.cam._y - 7;
}
if ((lev == 10) and (_root.cam._y != 200)) {
_root.cam._y = _root.cam._y - 7;
}
if ((lev == 13) and (_root.cam._x != 275)) {
_root.cam._x = _root.cam._x + 13;
}
if ((lev == 14) and (_root.cam._x != 275)) {
if (zoomnum == 0) {
_root.cam._y = _root.cam._y - 9;
_root.cam._x = _root.cam._x - 9;
} else if (zoomnum == 1) {
_root.cam._x = _root.cam._x - 10;
}
}
if (lev == 15) {
if (_root.cam._y != 200) {
if (zoomnum == 0) {
_root.cam._y = _root.cam._y - 7;
_root.cam._x = _root.cam._x - 11;
} else if (zoomnum == 1) {
_root.cam._y = _root.cam._y - 14;
}
}
if (_root.cam._x != 275) {
if (zoomnum == 2) {
_root.cam._x = _root.cam._x + 8;
}
}
}
if ((lev == 16) and (_root.cam._y != 200)) {
_root.cam._y = _root.cam._y - 8;
}
} else if ((_root.limits.stop1 == false) and (_root.ball._currentframe != 3)) {
_root.cam._xscale = _root.cam._xscale + autozoom1;
_root.cam._yscale = _root.cam._yscale + autozoom1;
_root.screen._xscale = _root.screen._xscale + autozoom2;
_root.screen._yscale = _root.screen._yscale + autozoom2;
if (lev == 4) {
_root.cam._y = _root.cam._y + 6;
}
if (lev == 6) {
_root.cam._y = _root.cam._y + 6;
}
if (lev == 9) {
_root.cam._y = _root.cam._y + 7;
}
if (lev == 10) {
_root.cam._y = _root.cam._y + 7;
}
if (lev == 13) {
_root.cam._x = _root.cam._x - 13;
}
if (lev == 14) {
if (j == 0) {
_root.cam._y = _root.cam._y + 9;
_root.cam._x = _root.cam._x + 9;
zoomnum = 0;
} else if (j == 1) {
_root.cam._x = _root.cam._x + 10;
zoomnum = 1;
}
}
if (lev == 15) {
if (j == 0) {
_root.cam._y = _root.cam._y + 7;
_root.cam._x = _root.cam._x + 11;
zoomnum = 0;
} else if (j == 1) {
_root.cam._y = _root.cam._y + 14;
zoomnum = 1;
} else if (j == 2) {
_root.cam._x = _root.cam._x - 8;
zoomnum = 2;
}
}
if (lev == 16) {
_root.cam._y = _root.cam._y + 8;
}
}
}
}
Instance of Symbol 139 MovieClip "lifeup" in Frame 2
onClipEvent (load) {
gotoAndStop (110);
}
Instance of Symbol 197 MovieClip "limits" in Frame 2
onClipEvent (load) {
var stop1 = false;
}
onClipEvent (enterFrame) {
if (_root.cam._xscale < 76) {
_root.cam._xscale = 76.4;
}
if (_root.cam._yscale < 83) {
_root.cam._yscale = 83.3;
}
if (_root.cam._xscale > _root.ball.xcamlimit) {
stop1 = true;
}
if (_root.screen._xscale < _root.bglimitsx) {
_root.screen._xscale = _root.bglimitsx;
}
if (_root.screen._yscale < _root.bglimitsy) {
_root.screen._yscale = _root.bglimitsy;
}
}
Frame 3
var wallnumx = 6;
var wallnumy = 4;
var endnum = 5;
var movearx = new Array();
var moveary = new Array();
var objectar = new Array();
i = 0;
while (i < wallnumx) {
movearx.push("wall" + i);
_root["wall" + i]._alpha = 0;
i++;
}
r = 0;
while (r < wallnumy) {
moveary.push("wally" + r);
_root["wally" + r]._alpha = 0;
r++;
}
var tokennum = 7;
var tokenar = new Array();
w = 0;
while (w < tokennum) {
tokenar.push("token" + w);
w++;
}
var bglimitsx = screen._xscale;
var bglimitsy = screen._yscale;
Frame 4
var wallnumx = 7;
var wallnumy = 6;
var endnum = 6;
var movearx = new Array();
var moveary = new Array();
var objectar = new Array();
i = 0;
while (i < wallnumx) {
movearx.push("wall" + i);
_root["wall" + i]._alpha = 0;
i++;
}
r = 0;
while (r < wallnumy) {
moveary.push("wally" + r);
_root["wally" + r]._alpha = 0;
r++;
}
var tokennum = 11;
var tokenar = new Array();
w = 0;
while (w < tokennum) {
tokenar.push("token" + w);
w++;
}
var zoomnum = 1;
var zoomar = new Array();
c = 0;
while (c < zoomnum) {
zoomar.push("zoom" + c);
c++;
}
_root.ball.xcamlimit = 110;
var bglimitsx = screen._xscale;
var bglimitsy = screen._yscale;
Frame 5
var wallnumx = 8;
var wallnumy = 8;
var endnum = 7;
var movearx = new Array();
var moveary = new Array();
var objectar = new Array();
i = 0;
while (i < wallnumx) {
movearx.push("wall" + i);
_root["wall" + i]._alpha = 0;
i++;
}
r = 0;
while (r < wallnumy) {
moveary.push("wally" + r);
_root["wally" + r]._alpha = 0;
r++;
}
var tokennum = 14;
var tokenar = new Array();
w = 0;
while (w < tokennum) {
tokenar.push("token" + w);
w++;
}
var bglimitsx = screen._xscale;
var bglimitsy = screen._yscale;
Frame 6
var wallnumx = 9;
var wallnumy = 8;
var endnum = 8;
var movearx = new Array();
var moveary = new Array();
var objectar = new Array();
i = 0;
while (i < wallnumx) {
movearx.push("wall" + i);
_root["wall" + i]._alpha = 0;
i++;
}
r = 0;
while (r < wallnumy) {
moveary.push("wally" + r);
_root["wally" + r]._alpha = 0;
r++;
}
var tokennum = 12;
var tokenar = new Array();
w = 0;
while (w < tokennum) {
tokenar.push("token" + w);
w++;
}
var zoomnum = 1;
var zoomar = new Array();
c = 0;
while (c < zoomnum) {
zoomar.push("zoom" + c);
c++;
}
_root.ball.xcamlimit = 140;
var bglimitsx = screen._xscale;
var bglimitsy = screen._yscale;
_root.ball.learnedsplash = true;
cam.pausedmc._visible = false;
_root.cam.levels.gotoAndStop(_root.ball.lev - 1);
_root.ball.movieplaying = false;
Frame 7
var wallnumx = 11;
var wallnumy = 13;
var endnum = 10;
var movearx = new Array();
var moveary = new Array();
var objectar = new Array();
i = 0;
while (i < wallnumx) {
movearx.push("wall" + i);
_root["wall" + i]._alpha = 0;
i++;
}
r = 0;
while (r < wallnumy) {
moveary.push("wally" + r);
_root["wally" + r]._alpha = 0;
r++;
}
var tokennum = 19;
var tokenar = new Array();
w = 0;
while (w < tokennum) {
tokenar.push("token" + w);
w++;
}
var gtokennum = 2;
var gtokenar = new Array();
c = 0;
while (c < gtokennum) {
gtokenar.push("gtoken" + c);
c++;
}
var spikenum = 10;
var spikear = new Array();
k = 0;
while (k < spikenum) {
spikear.push("spike" + k);
k++;
}
var zoomnum = 2;
var zoomar = new Array();
c = 0;
while (c < zoomnum) {
zoomar.push("zoom" + c);
c++;
}
_root.ball.xcamlimit = 110;
var bglimitsx = screen._xscale;
var bglimitsy = screen._yscale;
Frame 8
var wallnumx = 13;
var wallnumy = 14;
var endnum = 12;
var movearx = new Array();
var moveary = new Array();
var objectar = new Array();
i = 0;
while (i < wallnumx) {
movearx.push("wall" + i);
_root["wall" + i]._alpha = 0;
i++;
}
r = 0;
while (r < wallnumy) {
moveary.push("wally" + r);
_root["wally" + r]._alpha = 0;
r++;
}
var tokennum = 15;
var tokenar = new Array();
w = 0;
while (w < tokennum) {
tokenar.push("token" + w);
w++;
}
var gtokennum = 2;
var gtokenar = new Array();
c = 0;
while (c < gtokennum) {
gtokenar.push("gtoken" + c);
c++;
}
var spikenum = 5;
var spikear = new Array();
k = 0;
while (k < spikenum) {
spikear.push("spike" + k);
k++;
}
var zoomnum = 2;
var zoomar = new Array();
c = 0;
while (c < zoomnum) {
zoomar.push("zoom" + c);
c++;
}
_root.ball.xcamlimit = 145;
var bglimitsx = screen._xscale;
var bglimitsy = screen._yscale;
Frame 9
var wallnumx = 12;
var wallnumy = 10;
var endnum = 11;
var movearx = new Array();
var moveary = new Array();
var objectar = new Array();
i = 0;
while (i < wallnumx) {
movearx.push("wall" + i);
_root["wall" + i]._alpha = 0;
i++;
}
r = 0;
while (r < wallnumy) {
moveary.push("wally" + r);
_root["wally" + r]._alpha = 0;
r++;
}
var tokennum = 18;
var tokenar = new Array();
w = 0;
while (w < tokennum) {
tokenar.push("token" + w);
w++;
}
var zoomnum = 1;
var zoomar = new Array();
c = 0;
while (c < zoomnum) {
zoomar.push("zoom" + c);
c++;
}
_root.ball.xcamlimit = 145;
var bglimitsx = screen._xscale;
var bglimitsy = screen._yscale;
_root.ball.learnedsuper = true;
Frame 10
var wallnumx = 11;
var wallnumy = 10;
var endnum = 10;
var movearx = new Array();
var moveary = new Array();
var objectar = new Array();
i = 0;
while (i < wallnumx) {
movearx.push("wall" + i);
_root["wall" + i]._alpha = 0;
i++;
}
r = 0;
while (r < wallnumy) {
moveary.push("wally" + r);
_root["wally" + r]._alpha = 0;
r++;
}
var tokennum = 22;
var tokenar = new Array();
w = 0;
while (w < tokennum) {
tokenar.push("token" + w);
w++;
}
var gtokennum = 2;
var gtokenar = new Array();
c = 0;
while (c < gtokennum) {
gtokenar.push("gtoken" + c);
c++;
}
var spikenum = 4;
var spikear = new Array();
k = 0;
while (k < spikenum) {
spikear.push("spike" + k);
k++;
}
var zoomnum = 2;
var zoomar = new Array();
c = 0;
while (c < zoomnum) {
zoomar.push("zoom" + c);
c++;
}
_root.ball.xcamlimit = 130;
var bglimitsx = screen._xscale;
var bglimitsy = screen._yscale;
cam.pausedmc._visible = false;
_root.cam.levels.gotoAndStop(_root.ball.lev - 1);
_root.ball.movieplaying = false;
Frame 11
var wallnumx = 6;
var wallnumy = 5;
var endnum = 5;
var movearx = new Array();
var moveary = new Array();
var objectar = new Array();
i = 0;
while (i < wallnumx) {
movearx.push("wall" + i);
_root["wall" + i]._alpha = 0;
i++;
}
r = 0;
while (r < wallnumy) {
moveary.push("wally" + r);
_root["wally" + r]._alpha = 0;
r++;
}
var tokennum = 15;
var tokenar = new Array();
w = 0;
while (w < tokennum) {
tokenar.push("token" + w);
w++;
}
var bglimitsx = screen._xscale;
var bglimitsy = screen._yscale;
_root.ball.learnedlow = true;
Frame 12
var wallnumx = 9;
var wallnumy = 8;
var endnum = 8;
var movearx = new Array();
var moveary = new Array();
var objectar = new Array();
i = 0;
while (i < wallnumx) {
movearx.push("wall" + i);
_root["wall" + i]._alpha = 0;
i++;
}
r = 0;
while (r < wallnumy) {
moveary.push("wally" + r);
_root["wally" + r]._alpha = 0;
r++;
}
var tokennum = 15;
var tokenar = new Array();
w = 0;
while (w < tokennum) {
tokenar.push("token" + w);
w++;
}
var bglimitsx = screen._xscale;
var bglimitsy = screen._yscale;
Frame 13
var wallnumx = 10;
var wallnumy = 10;
var endnum = 9;
var movearx = new Array();
var moveary = new Array();
var objectar = new Array();
i = 0;
while (i < wallnumx) {
movearx.push("wall" + i);
_root["wall" + i]._alpha = 0;
i++;
}
r = 0;
while (r < wallnumy) {
moveary.push("wally" + r);
_root["wally" + r]._alpha = 0;
r++;
}
var tokennum = 21;
var tokenar = new Array();
w = 0;
while (w < tokennum) {
tokenar.push("token" + w);
w++;
}
var gtokennum = 2;
var gtokenar = new Array();
c = 0;
while (c < gtokennum) {
gtokenar.push("gtoken" + c);
c++;
}
var spikenum = 3;
var spikear = new Array();
k = 0;
while (k < spikenum) {
spikear.push("spike" + k);
k++;
}
var zoomnum = 1;
var zoomar = new Array();
c = 0;
while (c < zoomnum) {
zoomar.push("zoom" + c);
c++;
}
_root.ball.xcamlimit = 110;
var bglimitsx = screen._xscale;
var bglimitsy = screen._yscale;
Frame 14
var wallnumx = 18;
var wallnumy = 14;
var endnum = 17;
var movearx = new Array();
var moveary = new Array();
var objectar = new Array();
i = 0;
while (i < wallnumx) {
movearx.push("wall" + i);
_root["wall" + i]._alpha = 0;
i++;
}
r = 0;
while (r < wallnumy) {
moveary.push("wally" + r);
_root["wally" + r]._alpha = 0;
r++;
}
var tokennum = 23;
var tokenar = new Array();
w = 0;
while (w < tokennum) {
tokenar.push("token" + w);
w++;
}
var gtokennum = 2;
var gtokenar = new Array();
c = 0;
while (c < gtokennum) {
gtokenar.push("gtoken" + c);
c++;
}
var spikenum = 7;
var spikear = new Array();
k = 0;
while (k < spikenum) {
spikear.push("spike" + k);
k++;
}
var zoomnum = 2;
var zoomar = new Array();
c = 0;
while (c < zoomnum) {
zoomar.push("zoom" + c);
c++;
}
_root.ball.xcamlimit = 120;
var bglimitsx = screen._xscale;
var bglimitsy = screen._yscale;
cam.pausedmc._visible = false;
_root.cam.levels.gotoAndStop(_root.ball.lev - 1);
_root.ball.movieplaying = false;
Frame 15
var wallnumx = 19;
var wallnumy = 18;
var endnum = 18;
var movearx = new Array();
var moveary = new Array();
var objectar = new Array();
i = 0;
while (i < wallnumx) {
movearx.push("wall" + i);
_root["wall" + i]._alpha = 0;
i++;
}
r = 0;
while (r < wallnumy) {
moveary.push("wally" + r);
_root["wally" + r]._alpha = 0;
r++;
}
var tokennum = 13;
var tokenar = new Array();
w = 0;
while (w < tokennum) {
tokenar.push("token" + w);
w++;
}
var gtokennum = 3;
var gtokenar = new Array();
c = 0;
while (c < gtokennum) {
gtokenar.push("gtoken" + c);
c++;
}
var spikenum = 8;
var spikear = new Array();
k = 0;
while (k < spikenum) {
spikear.push("spike" + k);
k++;
}
var zoomnum = 3;
var zoomar = new Array();
c = 0;
while (c < zoomnum) {
zoomar.push("zoom" + c);
c++;
}
_root.ball.xcamlimit = 120;
var bglimitsx = screen._xscale;
var bglimitsy = screen._yscale;
Frame 16
var wallnumx = 16;
var wallnumy = 15;
var endnum = 15;
var movearx = new Array();
var moveary = new Array();
var objectar = new Array();
i = 0;
while (i < wallnumx) {
movearx.push("wall" + i);
_root["wall" + i]._alpha = 0;
i++;
}
r = 0;
while (r < wallnumy) {
moveary.push("wally" + r);
_root["wally" + r]._alpha = 0;
r++;
}
var tokennum = 41;
var tokenar = new Array();
w = 0;
while (w < tokennum) {
tokenar.push("token" + w);
w++;
}
var gtokennum = 3;
var gtokenar = new Array();
c = 0;
while (c < gtokennum) {
gtokenar.push("gtoken" + c);
c++;
}
var spikenum = 6;
var spikear = new Array();
k = 0;
while (k < spikenum) {
spikear.push("spike" + k);
k++;
}
var zoomnum = 1;
var zoomar = new Array();
c = 0;
while (c < zoomnum) {
zoomar.push("zoom" + c);
c++;
}
_root.ball.xcamlimit = 140;
var bglimitsx = screen._xscale;
var bglimitsy = screen._yscale;
Frame 24
_root.ball.dead = false;
_root.cam.lives.gotoAndStop(1);
_root.ball.lives = _root.ball.lives - 1;
_root.ball.vx = 0;
_root.ball.vy = 0;
_root.ball._visible = false;
_root.entryportal._x = 348.8;
_root.entryportal._y = -131.1;
_root.cam.livestext.text = _root.ball.lives;
if (_root.ball.lives > 0) {
_root.cam._xscale = 76.4;
_root.cam._yscale = 83.3;
_root.ball.showep = true;
_root.ball.gotoAndStop(1);
gotoAndStop(_root.ball.lev);
_root.ball.points = _root.ball.startpoints;
} else {
_root.ball.movieplaying = true;
stopAllSounds();
gotoAndStop (26);
}
Frame 25
_root.cam.lives.gotoAndStop(1);
_root.ball._visible = false;
_root.entryportal._x = 348.8;
_root.entryportal._y = -131.1;
_root.cam._xscale = 76.4;
_root.cam._yscale = 83.3;
_root.ball.showep = true;
_root.ball.startpoints = _root.ball.points;
_root.ball.readit = false;
_root.dummy.level = _root.ball.lev;
if ((((_root.ball.lev == 6) or (_root.ball.lev == 10)) or (_root.ball.lev == 14)) or (_root.ball.lev == 17)) {
_root.ball.movieplaying = true;
gotoAndStop (33);
} else {
gotoAndStop(_root.ball.lev);
}
Instance of Symbol 358 MovieClip in Frame 27
onClipEvent (load) {
stopAllSounds();
if (_root.ball.musicon) {
var winmusic = new Sound();
winmusic.attachSound("win");
winmusic.start(0, 9999);
}
}
Frame 29
_root.ball.lev = 2;
_root.ball.reached1 = false;
_root.ball.reached2 = false;
_root.ball.reached3 = false;
_root.ball.reached4 = false;
_root.ball.reached5 = false;
playbtn.onPress = function () {
title._visible = false;
playbtn._visible = false;
creditsbtn._visible = false;
pmgbtn._visible = false;
menubg.gotoAndPlay(2);
};
creditsbtn.onPress = function () {
gotoAndStop (31);
};
pmgbtn.onPress = function () {
getURL ("http://www.gimme5games.com", _blank);
};
Instance of Symbol 183 MovieClip "sound" in Frame 29
onClipEvent (load) {
var menumusic = new Sound();
menumusic.attachSound("menumusic");
if (_root.ball.musicon) {
gotoAndStop (1);
menumusic.start(0, 9999);
} else {
gotoAndStop (2);
}
}
on (press) {
if (this._currentframe == 1) {
gotoAndStop (2);
stopAllSounds();
_root.ball.musicon = false;
} else if (this._currentframe == 2) {
gotoAndStop (1);
menumusic.start(0, 9999);
_root.ball.musicon = true;
}
}
Frame 30
skipbtn.onPress = function () {
stopAllSounds();
gotoAndStop (2);
};
sound._visible = false;
sound.enabled = false;
Frame 31
backbtn.onPress = function () {
gotoAndStop (29);
};
Frame 32
stop();
Frame 33
stopAllSounds();
if (_root.ball.lev == 6) {
planets.gotoAndStop(2);
} else if (_root.ball.lev == 10) {
planets.gotoAndStop(3);
} else if (_root.ball.lev == 14) {
planets.gotoAndStop(4);
} else if (_root.ball.lev == 17) {
planets.gotoAndStop(5);
} else {
planets.gotoAndStop(1);
}
Frame 34
stop();
Instance of Symbol 531 MovieClip [Splash] in Frame 34
//component parameters
onClipEvent (construct) {
frameAfterCompletion = 32;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Frame 35
stop();
var score = _root.ball.points;
var scoretext = score.toString();
movHiScores.setDetails(76, 0, "bouncybob", false, score, scoretext, "points!");
menubtn.onPress = function () {
_root.gotoAndStop(29);
};
Instance of Symbol 577 MovieClip [HiScores] "movHiScores" in Frame 35
//component parameters
onClipEvent (construct) {
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Frame 36
var CPMStarPoolID = 1417;
var CPMStarSubPoolID = 400;
System.security.allowDomain("server.cpmstar.com");
adBox.loadMovie((("http://server.cpmstar.com/adviewas2.swf?poolid=" + CPMStarPoolID) + "&subpoolid=") + CPMStarSubPoolID);
contbtn.enabled = false;
contbtn._alpha = 20;
var t = 0;
onEnterFrame = function () {
t++;
if (t == 100) {
contbtn.enabled = true;
contbtn._alpha = 100;
}
};
contbtn.onPress = function () {
_root.gotoAndStop(34);
};
Symbol 23 MovieClip Frame 1
stop();
Symbol 508 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip
{
var _width, _height, _x, _y, _parent, _minHeight, _minWidth, _visible, dispatchEvent, _xscale, _yscale, methodTable, onEnterFrame, tfList, __width, __height, moveTo, lineTo, createTextField, attachMovie, buildDepthTable, findNextAvailableDepth, idNames, childrenCreated, _name, createAccessibilityImplementation, _endInit, validateNow, hasOwnProperty, initProperties, stylecache, className, ignoreClassStyleDeclaration, _tf, fontFamily, fontSize, color, marginLeft, marginRight, fontStyle, fontWeight, textAlign, textIndent, textDecoration, embedFonts, styleName, enabled;
function UIObject () {
super();
constructObject();
}
function get width() {
return(_width);
}
function get height() {
return(_height);
}
function get left() {
return(_x);
}
function get x() {
return(_x);
}
function get top() {
return(_y);
}
function get y() {
return(_y);
}
function get right() {
return(_parent.width - (_x + width));
}
function get bottom() {
return(_parent.height - (_y + height));
}
function getMinHeight(Void) {
return(_minHeight);
}
function setMinHeight(h) {
_minHeight = h;
}
function get minHeight() {
return(getMinHeight());
}
function set minHeight(h) {
setMinHeight(h);
//return(minHeight);
}
function getMinWidth(Void) {
return(_minWidth);
}
function setMinWidth(w) {
_minWidth = w;
}
function get minWidth() {
return(getMinWidth());
}
function set minWidth(w) {
setMinWidth(w);
//return(minWidth);
}
function setVisible(x, noEvent) {
if (x != _visible) {
_visible = x;
if (noEvent != true) {
dispatchEvent({type:(x ? "reveal" : "hide")});
}
}
}
function get visible() {
return(_visible);
}
function set visible(x) {
setVisible(x, false);
//return(visible);
}
function get scaleX() {
return(_xscale);
}
function set scaleX(x) {
_xscale = x;
//return(scaleX);
}
function get scaleY() {
return(_yscale);
}
function set scaleY(y) {
_yscale = y;
//return(scaleY);
}
function doLater(obj, fn) {
if (methodTable == undefined) {
methodTable = new Array();
}
methodTable.push({obj:obj, fn:fn});
onEnterFrame = doLaterDispatcher;
}
function doLaterDispatcher(Void) {
delete onEnterFrame;
if (invalidateFlag) {
redraw();
}
var _local3 = methodTable;
methodTable = new Array();
if (_local3.length > 0) {
var _local2;
while (_local2 = _local3.shift() , _local2 != undefined) {
_local2.obj[_local2.fn]();
}
}
}
function cancelAllDoLaters(Void) {
delete onEnterFrame;
methodTable = new Array();
}
function invalidate(Void) {
invalidateFlag = true;
onEnterFrame = doLaterDispatcher;
}
function invalidateStyle(Void) {
invalidate();
}
function redraw(bAlways) {
if (invalidateFlag || (bAlways)) {
invalidateFlag = false;
var _local2;
for (_local2 in tfList) {
tfList[_local2].draw();
}
draw();
dispatchEvent({type:"draw"});
}
}
function draw(Void) {
}
function move(x, y, noEvent) {
var _local3 = _x;
var _local2 = _y;
_x = x;
_y = y;
if (noEvent != true) {
dispatchEvent({type:"move", oldX:_local3, oldY:_local2});
}
}
function setSize(w, h, noEvent) {
var _local3 = __width;
var _local2 = __height;
__width = w;
__height = h;
size();
if (noEvent != true) {
dispatchEvent({type:"resize", oldWidth:_local3, oldHeight:_local2});
}
}
function size(Void) {
_width = __width;
_height = __height;
}
function drawRect(x1, y1, x2, y2) {
moveTo(x1, y1);
lineTo(x2, y1);
lineTo(x2, y2);
lineTo(x1, y2);
lineTo(x1, y1);
}
function createLabel(name, depth, text) {
createTextField(name, depth, 0, 0, 0, 0);
var _local2 = this[name];
_local2._color = textColorList;
_local2._visible = false;
_local2.__text = text;
if (tfList == undefined) {
tfList = new Object();
}
tfList[name] = _local2;
_local2.invalidateStyle();
invalidate();
_local2.styleName = this;
return(_local2);
}
function createObject(linkageName, id, depth, initobj) {
return(attachMovie(linkageName, id, depth, initobj));
}
function createClassObject(className, id, depth, initobj) {
var _local3 = className.symbolName == undefined;
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className);
}
var _local4 = mx.core.UIObject(createObject(className.symbolOwner.symbolName, id, depth, initobj));
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner);
}
return(_local4);
}
function createEmptyObject(id, depth) {
return(createClassObject(mx.core.UIObject, id, depth));
}
function destroyObject(id) {
var _local2 = this[id];
if (_local2.getDepth() < 0) {
var _local4 = buildDepthTable();
var _local5 = findNextAvailableDepth(0, _local4, "up");
var _local3 = _local5;
_local2.swapDepths(_local3);
}
_local2.removeMovieClip();
delete this[id];
}
function getSkinIDName(tag) {
return(idNames[tag]);
}
function setSkin(tag, linkageName, initObj) {
if (_global.skinRegistry[linkageName] == undefined) {
mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement);
}
return(createObject(linkageName, getSkinIDName(tag), tag, initObj));
}
function createSkin(tag) {
var _local2 = getSkinIDName(tag);
createEmptyObject(_local2, tag);
return(this[_local2]);
}
function createChildren(Void) {
}
function _createChildren(Void) {
createChildren();
childrenCreated = true;
}
function constructObject(Void) {
if (_name == undefined) {
return(undefined);
}
init();
_createChildren();
createAccessibilityImplementation();
_endInit();
if (validateNow) {
redraw(true);
} else {
invalidate();
}
}
function initFromClipParameters(Void) {
var _local4 = false;
var _local2;
for (_local2 in clipParameters) {
if (hasOwnProperty(_local2)) {
_local4 = true;
this["def_" + _local2] = this[_local2];
delete this[_local2];
}
}
if (_local4) {
for (_local2 in clipParameters) {
var _local3 = this["def_" + _local2];
if (_local3 != undefined) {
this[_local2] = _local3;
}
}
}
}
function init(Void) {
__width = _width;
__height = _height;
if (initProperties == undefined) {
initFromClipParameters();
} else {
initProperties();
}
if (_global.cascadingStyles == true) {
stylecache = new Object();
}
}
function getClassStyleDeclaration(Void) {
var _local4 = this;
var _local3 = className;
while (_local3 != undefined) {
if (ignoreClassStyleDeclaration[_local3] == undefined) {
if (_global.styles[_local3] != undefined) {
return(_global.styles[_local3]);
}
}
_local4 = _local4.__proto__;
_local3 = _local4.className;
}
}
function setColor(color) {
}
function __getTextFormat(tf, bAll) {
var _local8 = stylecache.tf;
if (_local8 != undefined) {
var _local3;
for (_local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
tf[_local3] = _local8[_local3];
}
}
}
return(false);
}
var _local6 = false;
for (var _local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
var _local5 = _tf[_local3];
if (_local5 != undefined) {
tf[_local3] = _local5;
} else if ((_local3 == "font") && (fontFamily != undefined)) {
tf[_local3] = fontFamily;
} else if ((_local3 == "size") && (fontSize != undefined)) {
tf[_local3] = fontSize;
} else if ((_local3 == "color") && (color != undefined)) {
tf[_local3] = color;
} else if ((_local3 == "leftMargin") && (marginLeft != undefined)) {
tf[_local3] = marginLeft;
} else if ((_local3 == "rightMargin") && (marginRight != undefined)) {
tf[_local3] = marginRight;
} else if ((_local3 == "italic") && (fontStyle != undefined)) {
tf[_local3] = fontStyle == _local3;
} else if ((_local3 == "bold") && (fontWeight != undefined)) {
tf[_local3] = fontWeight == _local3;
} else if ((_local3 == "align") && (textAlign != undefined)) {
tf[_local3] = textAlign;
} else if ((_local3 == "indent") && (textIndent != undefined)) {
tf[_local3] = textIndent;
} else if ((_local3 == "underline") && (textDecoration != undefined)) {
tf[_local3] = textDecoration == _local3;
} else if ((_local3 == "embedFonts") && (embedFonts != undefined)) {
tf[_local3] = embedFonts;
} else {
_local6 = true;
}
}
}
}
if (_local6) {
var _local9 = styleName;
if (_local9 != undefined) {
if (typeof(_local9) != "string") {
_local6 = _local9.__getTextFormat(tf, true, this);
} else if (_global.styles[_local9] != undefined) {
_local6 = _global.styles[_local9].__getTextFormat(tf, true, this);
}
}
}
if (_local6) {
var _local10 = getClassStyleDeclaration();
if (_local10 != undefined) {
_local6 = _local10.__getTextFormat(tf, true, this);
}
}
if (_local6) {
if (_global.cascadingStyles) {
if (_parent != undefined) {
_local6 = _parent.__getTextFormat(tf, false);
}
}
}
if (_local6) {
_local6 = _global.style.__getTextFormat(tf, true, this);
}
return(_local6);
}
function _getTextFormat(Void) {
var _local2 = stylecache.tf;
if (_local2 != undefined) {
return(_local2);
}
_local2 = new TextFormat();
__getTextFormat(_local2, true);
stylecache.tf = _local2;
if (enabled == false) {
var _local3 = getStyle("disabledColor");
_local2.color = _local3;
}
return(_local2);
}
function getStyleName(Void) {
var _local2 = styleName;
if (_local2 != undefined) {
if (typeof(_local2) != "string") {
return(_local2.getStyleName());
}
return(_local2);
}
if (_parent != undefined) {
return(_parent.getStyleName());
}
return(undefined);
}
function getStyle(styleProp) {
var _local3;
_global.getStyleCounter++;
if (this[styleProp] != undefined) {
return(this[styleProp]);
}
var _local6 = styleName;
if (_local6 != undefined) {
if (typeof(_local6) != "string") {
_local3 = _local6.getStyle(styleProp);
} else {
var _local7 = _global.styles[_local6];
_local3 = _local7.getStyle(styleProp);
}
}
if (_local3 != undefined) {
return(_local3);
}
var _local7 = getClassStyleDeclaration();
if (_local7 != undefined) {
_local3 = _local7[styleProp];
}
if (_local3 != undefined) {
return(_local3);
}
if (_global.cascadingStyles) {
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (mx.styles.StyleManager.isColorStyle(styleProp))) {
var _local5 = stylecache;
if (_local5 != undefined) {
if (_local5[styleProp] != undefined) {
return(_local5[styleProp]);
}
}
if (_parent != undefined) {
_local3 = _parent.getStyle(styleProp);
} else {
_local3 = _global.style[styleProp];
}
if (_local5 != undefined) {
_local5[styleProp] = _local3;
}
return(_local3);
}
}
if (_local3 == undefined) {
_local3 = _global.style[styleProp];
}
return(_local3);
}
static function mergeClipParameters(o, p) {
for (var _local3 in p) {
o[_local3] = p[_local3];
}
return(true);
}
static var symbolName = "UIObject";
static var symbolOwner = mx.core.UIObject;
static var version = "2.0.2.127";
static var textColorList = {color:1, disabledColor:1};
var invalidateFlag = false;
var lineWidth = 1;
var lineColor = 0;
var tabEnabled = false;
var clipParameters = {visible:1, minHeight:1, minWidth:1, maxHeight:1, maxWidth:1, preferredHeight:1, preferredWidth:1};
}
Symbol 509 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject
{
var __width, __height, invalidate, stylecache, removeEventListener, dispatchEvent, drawFocus, addEventListener, _xscale, _yscale, _focusrect, watch, enabled;
function UIComponent () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function setVisible(x, noEvent) {
super.setVisible(x, noEvent);
}
function enabledChanged(id, oldValue, newValue) {
setEnabled(newValue);
invalidate();
delete stylecache.tf;
return(newValue);
}
function setEnabled(enabled) {
invalidate();
}
function getFocus() {
var selFocus = Selection.getFocus();
return(((selFocus === null) ? null : (eval (selFocus))));
}
function setFocus() {
Selection.setFocus(this);
}
function getFocusManager() {
var _local2 = this;
while (_local2 != undefined) {
if (_local2.focusManager != undefined) {
return(_local2.focusManager);
}
_local2 = _local2._parent;
}
return(undefined);
}
function onKillFocus(newFocus) {
removeEventListener("keyDown", this);
removeEventListener("keyUp", this);
dispatchEvent({type:"focusOut"});
drawFocus(false);
}
function onSetFocus(oldFocus) {
addEventListener("keyDown", this);
addEventListener("keyUp", this);
dispatchEvent({type:"focusIn"});
if (getFocusManager().bDrawFocus != false) {
drawFocus(true);
}
}
function findFocusInChildren(o) {
if (o.focusTextField != undefined) {
return(o.focusTextField);
}
if (o.tabEnabled == true) {
return(o);
}
return(undefined);
}
function findFocusFromObject(o) {
if (o.tabEnabled != true) {
if (o._parent == undefined) {
return(undefined);
}
if (o._parent.tabEnabled == true) {
o = o._parent;
} else if (o._parent.tabChildren) {
o = findFocusInChildren(o._parent);
} else {
o = findFocusFromObject(o._parent);
}
}
return(o);
}
function pressFocus() {
var _local3 = findFocusFromObject(this);
var _local2 = getFocus();
if (_local3 != _local2) {
_local2.drawFocus(false);
if (getFocusManager().bDrawFocus != false) {
_local3.drawFocus(true);
}
}
}
function releaseFocus() {
var _local2 = findFocusFromObject(this);
if (_local2 != getFocus()) {
_local2.setFocus();
}
}
function isParent(o) {
while (o != undefined) {
if (o == this) {
return(true);
}
o = o._parent;
}
return(false);
}
function size() {
}
function init() {
super.init();
_xscale = 100;
_yscale = 100;
_focusrect = _global.useFocusRect == false;
watch("enabled", enabledChanged);
if (enabled == false) {
setEnabled(false);
}
}
function dispatchValueChangedEvent(value) {
dispatchEvent({type:"valueChanged", value:value});
}
static var symbolName = "UIComponent";
static var symbolOwner = mx.core.UIComponent;
static var version = "2.0.2.127";
static var kStretch = 5000;
var focusEnabled = true;
var tabEnabled = true;
var origBorderStyles = {themeColor:16711680};
var clipParameters = {};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters);
}
Symbol 510 MovieClip [__Packages.Splash] Frame 0
class Splash extends mx.core.UIComponent
{
var useHandCursor, boundingBox_mc, invalidate;
function Splash () {
super();
}
function init() {
super.init();
useHandCursor = false;
boundingBox_mc._visible = false;
}
function createChildren() {
size();
}
function size() {
super.size();
invalidate();
}
function draw() {
super.draw();
if (_global.isLivePreview) {
boundingBox_mc._visible = true;
} else {
boundingBox_mc._visible = false;
}
}
function getFrameAfterCompletion() {
return(frameAfterCompletion);
}
function setFrameAfterCompletion(frameAfterCompletion) {
this.frameAfterCompletion = frameAfterCompletion;
}
static var symbolName = "Splash";
static var symbolOwner = Splash;
var className = "Splash";
var frameAfterCompletion = 0;
}
Symbol 532 MovieClip [__Packages.mx.skins.SkinElement] Frame 0
class mx.skins.SkinElement extends MovieClip
{
var _visible, _x, _y, _width, _height;
function SkinElement () {
super();
}
static function registerElement(name, className) {
Object.registerClass(name, ((className == undefined) ? (mx.skins.SkinElement) : (className)));
_global.skinRegistry[name] = true;
}
function __set__visible(visible) {
_visible = visible;
}
function move(x, y) {
_x = x;
_y = y;
}
function setSize(w, h) {
_width = w;
_height = h;
}
}
Symbol 533 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles
{
function CSSTextStyles () {
}
static function addTextStyles(o, bColor) {
o.addProperty("textAlign", function () {
return(this._tf.align);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.align = x;
});
o.addProperty("fontWeight", function () {
return(((this._tf.bold != undefined) ? ((this._tf.bold ? "bold" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.bold = x == "bold";
});
if (bColor) {
o.addProperty("color", function () {
return(this._tf.color);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.color = x;
});
}
o.addProperty("fontFamily", function () {
return(this._tf.font);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.font = x;
});
o.addProperty("textIndent", function () {
return(this._tf.indent);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.indent = x;
});
o.addProperty("fontStyle", function () {
return(((this._tf.italic != undefined) ? ((this._tf.italic ? "italic" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.italic = x == "italic";
});
o.addProperty("marginLeft", function () {
return(this._tf.leftMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.leftMargin = x;
});
o.addProperty("marginRight", function () {
return(this._tf.rightMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.rightMargin = x;
});
o.addProperty("fontSize", function () {
return(this._tf.size);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.size = x;
});
o.addProperty("textDecoration", function () {
return(((this._tf.underline != undefined) ? ((this._tf.underline ? "underline" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.underline = x == "underline";
});
o.addProperty("embedFonts", function () {
return(this._tf.embedFonts);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.embedFonts = x;
});
}
}
Symbol 534 MovieClip [__Packages.mx.styles.StyleManager] Frame 0
class mx.styles.StyleManager
{
function StyleManager () {
}
static function registerInheritingStyle(styleName) {
inheritingStyles[styleName] = true;
}
static function isInheritingStyle(styleName) {
return(inheritingStyles[styleName] == true);
}
static function registerColorStyle(styleName) {
colorStyles[styleName] = true;
}
static function isColorStyle(styleName) {
return(colorStyles[styleName] == true);
}
static function registerColorName(colorName, colorValue) {
colorNames[colorName] = colorValue;
}
static function isColorName(colorName) {
return(colorNames[colorName] != undefined);
}
static function getColorName(colorName) {
return(colorNames[colorName]);
}
static var inheritingStyles = {color:true, direction:true, fontFamily:true, fontSize:true, fontStyle:true, fontWeight:true, textAlign:true, textIndent:true};
static var colorStyles = {barColor:true, trackColor:true, borderColor:true, buttonColor:true, color:true, dateHeaderColor:true, dateRollOverColor:true, disabledColor:true, fillColor:true, highlightColor:true, scrollTrackColor:true, selectedDateColor:true, shadowColor:true, strokeColor:true, symbolBackgroundColor:true, symbolBackgroundDisabledColor:true, symbolBackgroundPressedColor:true, symbolColor:true, symbolDisabledColor:true, themeColor:true, todayIndicatorColor:true, shadowCapColor:true, borderCapColor:true, focusColor:true};
static var colorNames = {black:0, white:16777215, red:16711680, green:65280, blue:255, magenta:16711935, yellow:16776960, cyan:65535, haloGreen:8453965, haloBlue:2881013, haloOrange:16761344};
static var TextFormatStyleProps = {font:true, size:true, color:true, leftMargin:false, rightMargin:false, italic:true, bold:true, align:true, indent:true, underline:false, embedFonts:false};
static var TextStyleMap = {textAlign:true, fontWeight:true, color:true, fontFamily:true, textIndent:true, fontStyle:true, lineHeight:true, marginLeft:true, marginRight:true, fontSize:true, textDecoration:true, embedFonts:true};
}
Symbol 535 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration
{
var _tf;
function CSSStyleDeclaration () {
}
function __getTextFormat(tf, bAll) {
var _local5 = false;
if (_tf != undefined) {
var _local2;
for (_local2 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local2])) {
if (tf[_local2] == undefined) {
var _local3 = _tf[_local2];
if (_local3 != undefined) {
tf[_local2] = _local3;
} else {
_local5 = true;
}
}
}
}
} else {
_local5 = true;
}
return(_local5);
}
function getStyle(styleProp) {
var _local2 = this[styleProp];
var _local3 = mx.styles.StyleManager.getColorName(_local2);
return(((_local3 == undefined) ? (_local2) : (_local3)));
}
static function classConstruct() {
mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true);
return(true);
}
static var classConstructed = classConstruct();
static var CSSTextStylesDependency = mx.styles.CSSTextStyles;
}
Symbol 536 MovieClip [__Packages.HiScores] Frame 0
class HiScores extends mx.core.UIComponent
{
var _visible, g5User, g5UserExists, gameId, levelId, gameCode, lowIsBest, score, msg1, msg2, movEntryScreen, movAutoEntryScreen, movInfoScreen, invalidate, getURL;
function HiScores () {
super();
_visible = false;
}
function setDetails(gameId, levelId, gameCode, lowIsBest, score, msg1, msg2) {
g5User = flash.external.ExternalInterface.call("getG5User");
g5UserExists = ((g5User == null) ? false : (!isNaN(g5User[0])));
this.gameId = gameId;
this.levelId = levelId;
this.gameCode = gameCode;
this.lowIsBest = lowIsBest;
this.score = score;
this.msg1 = msg1;
this.msg2 = msg2;
entryScreen = movEntryScreen;
autoEntryScreen = movAutoEntryScreen;
infoScreen = movInfoScreen;
entryScreen._visible = false;
autoEntryScreen._visible = false;
infoScreen._visible = false;
if (g5UserExists) {
showAutoEntryScreen();
} else {
showEntryScreen();
}
_visible = true;
}
function createChildren() {
size();
}
function size() {
super.size();
invalidate();
}
function secCodeLoad() {
var _local2 = new MovieClipLoader();
_local2.loadClip((HS_SERVLET_URL + "?type=genCode&cachebuster=") + new Date().getTime(), entryScreen.movCode);
}
function back() {
entryScreen._visible = true;
infoScreen._visible = false;
}
function viewScore() {
if (g5UserExists) {
getURL((((((((HI_SCORE_URL + gameCode) + "_hs") + "&userId=") + g5User[0]) + "&levelId=") + levelId) + "&cachebuster=") + new Date().getTime(), "_blank");
} else {
getURL((((((((HI_SCORE_URL + gameCode) + "_hs") + "&name=") + entryScreen.txtName.text) + "&levelId=") + levelId) + "&cachebuster=") + new Date().getTime(), "_blank");
}
}
function showEntryScreen() {
entryScreen.txtMsg1.text = msg1;
entryScreen.txtMsg2.text = msg2;
entryScreen.txtName.text = "";
entryScreen.txtCode.text = "";
entryScreen._visible = true;
secCodeLoad();
}
function showAutoEntryScreen() {
autoEntryScreen.txtMsg1.text = msg1;
autoEntryScreen.txtMsg2.text = msg2;
autoEntryScreen.txtName.text = g5User[1];
autoEntryScreen._visible = true;
}
function showInfoMessage(msg, error) {
infoScreen.txtInfo.text = msg;
infoScreen.btnBack._visible = error;
infoScreen.btnView._visible = !error;
}
function submitScore() {
entryScreen._visible = false;
autoEntryScreen._visible = false;
infoScreen._visible = true;
var _local8 = true;
if ((!g5UserExists) && (entryScreen.txtName.text.length == 0)) {
showInfoMessage("Please enter your name.", true);
} else if ((!g5UserExists) && (entryScreen.txtCode.text.length != 5)) {
showInfoMessage("Please enter all 5 letters of the security code.", true);
} else {
showInfoMessage("Submitting hi-score details to the server, please wait.", true);
infoScreen.btnBack._visible = false;
_local8 = false;
}
if (!_local8) {
var _local4 = "save|";
if (g5UserExists) {
_local4 = _local4 + ((((((("----------|-----|" + score) + "|") + gameId) + "|") + levelId) + "|") + g5User[0]);
} else {
_local4 = _local4 + (((((((((entryScreen.txtName.text + "|") + entryScreen.txtCode.text) + "|") + score) + "|") + gameId) + "|") + levelId) + "|-----");
}
var _local5 = "";
var _local3 = 0;
var _local2 = 0;
while (_local3 < _local4.length) {
if (_local2 >= KEY.length) {
_local2 = 0;
}
_local5 = _local5 + String.fromCharCode((_local4.charCodeAt(_local3) ^ KEY.charCodeAt(_local2)) + 1);
_local3++;
_local2++;
}
var self = this;
var _local6 = new LoadVars();
_local6.ffdata = _local5;
_local6.lowIsBest = lowIsBest;
_local6.sendAndLoad(HS_SERVLET_URL, _local6, "POST");
_local6.onLoad = function (success) {
var _local2 = parseInt(this.res);
if (!success) {
self.showInfoMessage("A serious problem was encountered with the server, please try again in a few minutes.", true);
} else if (_local2 == -1) {
self.showInfoMessage("Could not store hi-score details. Click on back, generate a new security code and re-submit.", true);
} else if (_local2 == 0) {
self.showInfoMessage("Sorry, a better score already exists with that name.", false);
} else if (_local2 == 1) {
self.showInfoMessage("Congratulations! You made it into the\nhi-score table.", false);
}
};
}
}
function enterAnotherName() {
g5UserExists = false;
autoEntryScreen._visible = false;
showEntryScreen();
}
static var symbolName = "HiScores";
static var symbolOwner = HiScores;
var className = "HiScores";
static var SERVER_URL = "http://www.gimme5games.com";
static var HS_SERVLET_URL = SERVER_URL + "/servlet/hiServlet";
static var HI_SCORE_URL = SERVER_URL + "/index.jsp?id=";
var KEY = "rocket";
var entryScreen = null;
var autoEntryScreen = null;
var infoScreen = null;
}
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 51
stop();
Symbol 70 MovieClip Frame 11
stop();
Symbol 85 MovieClip Frame 11
stop();
Symbol 95 MovieClip Frame 1
if (_root.ball.musicon) {
var fusesound = new Sound();
fusesound.attachSound("fuse");
fusesound.start(0, 2);
}
Symbol 95 MovieClip Frame 32
if (_root.ball.musicon) {
var exsound = new Sound();
exsound.attachSound("explosion");
exsound.start();
}
Symbol 95 MovieClip Frame 55
stop();
Symbol 96 MovieClip Frame 1
stop();
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ball.gamepaused == false) {
if (_root.ball.vx < 0) {
_rotation = (_rotation - (_root.ball.vx * 1.1));
} else {
_rotation = (_rotation + (_root.ball.vx * 1.1));
}
}
}
Symbol 96 MovieClip Frame 2
stop();
Symbol 96 MovieClip Frame 3
stop();
Symbol 117 MovieClip Frame 130
stop();
Symbol 119 MovieClip Frame 1
stop();
Instance of Symbol 118 MovieClip in Symbol 119 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 30);
}
Symbol 119 MovieClip Frame 2
stop();
Symbol 139 MovieClip Frame 110
stop();
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 61
stop();
Symbol 144 MovieClip Frame 143
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 2
stop();
Symbol 195 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 183 MovieClip "sound" in Symbol 195 MovieClip Frame 1
onClipEvent (load) {
var themusic = new Sound();
themusic.attachSound("music");
if (_root.ball.musicon == true) {
gotoAndStop (1);
themusic.start(0, 9999);
} else {
gotoAndStop (2);
}
}
on (press) {
if (this._currentframe == 1) {
gotoAndStop (2);
stopAllSounds();
_root.ball.musicon = false;
} else if (this._currentframe == 2) {
gotoAndStop (1);
themusic.start(0, 9999);
_root.ball.musicon = true;
}
}
Instance of Symbol 190 MovieClip "hintsbutton" in Symbol 195 MovieClip Frame 1
onClipEvent (load) {
if (_root.ball.hintson == true) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
}
on (press) {
if (this._currentframe == 2) {
gotoAndStop (3);
_root.ball.hintson = false;
} else if (this._currentframe == 3) {
gotoAndStop (2);
_root.ball.hintson = true;
}
}
Symbol 204 MovieClip Frame 143
stop();
Symbol 210 MovieClip Frame 143
stop();
Symbol 218 MovieClip Frame 143
stop();
Symbol 231 MovieClip Frame 143
stop();
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 51
stop();
Symbol 266 MovieClip Frame 143
stop();
Symbol 272 MovieClip Frame 143
stop();
Symbol 277 MovieClip Frame 143
stop();
Symbol 289 MovieClip Frame 143
stop();
Symbol 295 MovieClip Frame 143
stop();
Symbol 300 MovieClip Frame 143
stop();
Symbol 305 MovieClip Frame 143
stop();
Symbol 318 MovieClip Frame 143
stop();
Symbol 324 MovieClip Frame 143
stop();
Symbol 331 MovieClip Frame 143
stop();
Symbol 341 MovieClip Frame 190
stop();
submitbtn.onPress = function () {
_root.gotoAndStop(35);
};
menubtn.onPress = function () {
_root.gotoAndStop(29);
};
Symbol 358 MovieClip Frame 1
if (_root.ball.musicon) {
var portalsound = new Sound();
portalsound.attachSound("portal");
portalsound.start();
}
Symbol 358 MovieClip Frame 520
stop();
submitbtn.onPress = function () {
stopAllSounds();
_root.gotoAndStop(35);
};
menubtn.onPress = function () {
stopAllSounds();
_root.gotoAndStop(29);
};
Symbol 358 MovieClip Frame 713
stopAllSounds();
_root.gotoAndStop(35);
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 2
Symbol 425 MovieClip Frame 54
_root.gotoAndStop(30);
Symbol 456 MovieClip Frame 1
stopAllSounds();
Symbol 456 MovieClip Frame 2
if (_root.ball.musicon) {
var intromusic = new Sound();
intromusic.attachSound("intromus");
intromusic.start(0, 2);
}
Symbol 456 MovieClip Frame 439
stopAllSounds();
Symbol 456 MovieClip Frame 440
stop();
var backward = 130;
var stopplay = false;
gatesuck.onEnterFrame = function () {
if ((backward < 21) and (stopplay == false)) {
gatesuck.gotoAndStop(20);
play();
stopplay = true;
} else if (stopplay == false) {
gatesuck.gotoAndStop(backward);
backward = backward - 1;
gatesuck._alpha = 100;
}
};
if (_root.ball.musicon) {
var dramamusic = new Sound();
dramamusic.attachSound("drama");
dramamusic.start();
}
Symbol 456 MovieClip Frame 458
if (_root.ball.musicon) {
var noosound = new Sound();
noosound.attachSound("noo");
noosound.start();
}
Symbol 456 MovieClip Frame 579
gatesuck.gotoAndPlay(110);
Symbol 456 MovieClip Frame 651
stopAllSounds();
_root.gotoAndStop(33);
Symbol 481 MovieClip Frame 188
_root.gotoAndStop(29);
Symbol 499 MovieClip Frame 17
var screamsound = new Sound();
screamsound.attachSound("scream");
if (_root.ball.musicon) {
screamsound.start();
}
Symbol 499 MovieClip Frame 95
_root.gotoAndStop(2);
Symbol 501 MovieClip Frame 17
var screamsound = new Sound();
screamsound.attachSound("scream");
if (_root.ball.musicon) {
screamsound.start();
}
Symbol 501 MovieClip Frame 95
_root.gotoAndStop(6);
Symbol 503 MovieClip Frame 17
var screamsound = new Sound();
screamsound.attachSound("scream");
if (_root.ball.musicon) {
screamsound.start();
}
Symbol 503 MovieClip Frame 95
_root.gotoAndStop(10);
Symbol 505 MovieClip Frame 17
var screamsound = new Sound();
screamsound.attachSound("scream");
if (_root.ball.musicon) {
screamsound.start();
}
Symbol 505 MovieClip Frame 95
_root.gotoAndStop(14);
Symbol 506 MovieClip Frame 17
var screamsound = new Sound();
screamsound.attachSound("scream");
if (_root.ball.musicon) {
screamsound.start();
}
Symbol 506 MovieClip Frame 95
_root.gotoAndStop(27);
Symbol 520 Button
on (release) {
getURL ("http://www.gimme5games.com", "_blank");
}
Symbol 531 MovieClip [Splash] Frame 1
#initclip 9
Object.registerClass("Splash", Splash);
#endinitclip
Symbol 531 MovieClip [Splash] Frame 91
_root.gotoAndPlay(this.getFrameAfterCompletion());
Symbol 554 Button
on (release) {
_parent.submitScore();
}
Symbol 556 Button
on (release) {
_parent.secCodeLoad();
}
Symbol 567 Button
on (release) {
_parent.enterAnotherName();
}
Symbol 571 Button
on (release) {
_parent.back();
}
Symbol 574 Button
on (release) {
_parent.viewScore();
}
Symbol 577 MovieClip [HiScores] Frame 1
#initclip 10
Object.registerClass("HiScores", HiScores);
#endinitclip