Frame 1
Stage.showMenu = false;
var savefile = SharedObject.getLocal("Slideball");
_root.highscore1 = savefile.data.highscore1;
_root.highscore2 = savefile.data.highscore2;
_root.highscore3 = savefile.data.highscore3;
_root.highscore4 = savefile.data.highscore4;
_root.highscore5 = savefile.data.highscore5;
_root.submitscore = savefile.data.submitscore;
if (savefile.data.highscore1 == undefined) {
_root.highscore1 = 0;
_root.highscore2 = 0;
_root.highscore3 = 0;
_root.highscore4 = 0;
_root.highscore5 = 0;
_root.submitscore = 0;
}
stop();
Instance of Symbol 6 MovieClip "preloader" in Frame 1
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
this.gotoAndPlay(int(1000 * (loaded / total)));
}
Instance of Symbol 6 MovieClip "preloader" in Frame 1
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
this.gotoAndPlay(int(1000 * (loaded / total)));
if (loaded == total) {
_root.play();
}
}
Frame 50
stop();
Frame 51
gotoAndPlay ("edit_undo");
Frame 62
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("2b88fc06", this, 10301, true);
stop();
Frame 63
gotoAndPlay ("menu");
Frame 100
stop();
Instance of Symbol 91 MovieClip in Frame 100
onClipEvent (load) {
if (_root.submitscore == undefined) {
_root.submitscore = 0;
}
}
Instance of Symbol 121 MovieClip in Frame 100
on (release) {
this.play();
}
Frame 101
stop();
Instance of Symbol 131 MovieClip in Frame 101
onClipEvent (load) {
if (_root.highscore1 == undefined) {
_root.highscore1 = 0;
}
if (_root.highscore2 == undefined) {
_root.highscore2 = 0;
}
if (_root.highscore3 == undefined) {
_root.highscore3 = 0;
}
if (_root.highscore4 == undefined) {
_root.highscore4 = 0;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
stopAllSounds();
_root.gotoAndPlay("starters");
}
Instance of Symbol 138 MovieClip in Frame 101
onClipEvent (enterFrame) {
if (_root.highscore1 < 3000) {
this.gotoAndStop(3);
}
}
on (rollOver) {
if (_root.highscore1 >= 3000) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (_root.highscore1 >= 3000) {
this.gotoAndStop(1);
}
}
on (release) {
if (_root.highscore1 >= 3000) {
stopAllSounds();
_root.gotoAndPlay("semi_easy");
}
}
Instance of Symbol 143 MovieClip in Frame 101
onClipEvent (enterFrame) {
if (_root.highscore2 < 12000) {
this.gotoAndStop(3);
}
}
on (rollOver) {
if (_root.highscore2 >= 12000) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (_root.highscore2 >= 12000) {
this.gotoAndStop(1);
}
}
on (release) {
if (_root.highscore2 >= 12000) {
stopAllSounds();
_root.gotoAndPlay("not_so_easy");
}
}
Instance of Symbol 148 MovieClip in Frame 101
onClipEvent (enterFrame) {
if (_root.highscore3 < 12000) {
this.gotoAndStop(3);
}
}
on (rollOver) {
if (_root.highscore3 >= 12000) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (_root.highscore3 >= 12000) {
this.gotoAndStop(1);
}
}
on (release) {
if (_root.highscore3 >= 12000) {
stopAllSounds();
_root.gotoAndPlay("slightly_hard");
}
}
Frame 102
stop();
Instance of Symbol 190 MovieClip in Frame 102
onClipEvent (load) {
startx = _x;
maxmove = 100;
extend = false;
st = 1;
speed = 5;
}
on (rollOver) {
extend = true;
}
on (rollOut) {
extend = false;
st = 1;
}
on (release) {
st = st + 1;
}
onClipEvent (enterFrame) {
this.gotoAndPlay(st);
if (st == 3) {
_root.gotoAndPlay("menu");
}
if (extend == true) {
if (_x < (startx + maxmove)) {
_x = (_x + speed);
}
} else if (_x > startx) {
_x = (_x - speed);
}
}
Frame 103
stop();
Frame 104
stop();
Instance of Symbol 216 MovieClip in Frame 104
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 105
stop();
Frame 106
stop();
Frame 107
stop();
Frame 108
_root.totalhighscores = ((highscore1 + highscore2) + highscore3) + highscore4;
_root.inputname = "your name here!";
stop();
Frame 109
ab20_09 = new LoadVars();
ab20_09.z = _root.inputname;
ab20_09.x = _root.totalhighscores;
ab20_09.c = 723;
ab20_09.v = "AFECGS";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
getURL ("http://www.armorbot.com/mytable/?id=723", "_blank");
stop();
Frame 110
_root.totalscore = 0;
_root.levelnumber = "Level 1";
_root.levelname = "Starters";
_root.levelpar = 4;
_root.reward = 500;
_root.timebonus = 500;
_root.levelmoves = 0;
_root.levelmovesarray = new Array();
_root.levelmovesarray.length = 0;
_root.levelpararray = new Array();
_root.levelpararray.length = 0;
_root.levelscorearray = new Array();
_root.levelscorearray.length = 0;
_root.levelnamearray = new Array();
_root.levelnamearray.length = 0;
_root.gridsize = 40;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row1a" in Frame 110
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 110
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 110
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 110
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 110
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 110
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 110
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 110
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 110
onClipEvent (enterFrame) {
ontarget = 0;
target = 2;
if (_root.canmove == true) {
i = 1;
while (i < 3) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 91 MovieClip in Frame 110
onClipEvent (load) {
_root.levelmoves = 0;
timer = 10;
Stage.showMenu = false;
}
onClipEvent (enterFrame) {
if (_root.timebonus > 0) {
if (timer > 0) {
timer--;
} else {
_root.timebonus = _root.timebonus - 1;
timer = 10;
}
} else {
_root.timebonus = 0;
}
if (_root.canmove == true) {
movecount = false;
}
if (_root.canmove == false) {
if (movecount == false) {
movecount = true;
_root.levelmoves = _root.levelmoves + 1;
if (_root.levelmoves > _root.levelpar) {
_root.timebonus = _root.timebonus - 50;
}
}
}
}
Instance of Symbol 212 MovieClip in Frame 110
onClipEvent (enterFrame) {
if (_root.timebonus == 0) {
this.gotoAndPlay(2);
} else {
this.gotoAndPlay(1);
}
}
on (release) {
if (_root.timebonus == 0) {
_root.reward = 0;
_root.play();
}
}
Instance of Symbol 216 MovieClip in Frame 110
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Instance of Symbol 258 MovieClip in Frame 110
onClipEvent (load) {
big = false;
}
onClipEvent (enterFrame) {
if ((((_root._xmouse > (this._x - _width)) and (_root._xmouse < this._x)) and (_root._ymouse > this._y)) and (_root._ymouse < (this._y + _height))) {
if (_width < 200) {
_width = (_width + 4);
_height = (_height + 1);
}
} else if (_width > 100) {
_width = (_width - 4);
_height = (_height - 1);
}
}
Instance of Symbol 190 MovieClip in Frame 110
onClipEvent (load) {
startx = _x;
maxmove = 100;
extend = false;
st = 1;
speed = 5;
}
on (rollOver) {
extend = true;
}
on (rollOut) {
extend = false;
st = 1;
}
on (release) {
st = st + 1;
}
onClipEvent (enterFrame) {
this.gotoAndPlay(st);
if (st == 3) {
_root.gotoAndPlay("menu");
}
if (extend == true) {
if (_x < (startx + maxmove)) {
_x = (_x + speed);
}
} else if (_x > startx) {
_x = (_x - speed);
}
}
Frame 111
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 112
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 2";
_root.levelname = "Sliced";
_root.levelpar = 4;
_root.reward = 500;
_root.timebonus = 500;
_root.levelmoves = 0;
_root.gridsize = 40;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row1a" in Frame 112
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 112
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 112
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 112
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 112
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 112
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 112
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 112
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 112
onClipEvent (enterFrame) {
ontarget = 0;
target = 4;
if (_root.canmove == true) {
i = 1;
while (i < 5) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 112
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 113
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 114
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 3";
_root.levelname = "Limit";
_root.levelpar = 6;
_root.reward = 500;
_root.timebonus = 500;
_root.levelmoves = 0;
_root.gridsize = 40;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row1a" in Frame 114
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 114
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 114
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 114
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 114
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 114
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 114
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 114
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 114
onClipEvent (enterFrame) {
ontarget = 0;
target = 2;
if (_root.canmove == true) {
i = 1;
while (i < 5) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 114
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 115
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 116
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 4";
_root.levelname = "Element";
_root.levelpar = 10;
_root.reward = 500;
_root.timebonus = 750;
_root.levelmoves = 0;
_root.gridsize = 40;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row1a" in Frame 116
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 116
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 116
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 116
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 116
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 116
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 116
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 116
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 116
onClipEvent (enterFrame) {
ontarget = 0;
target = 2;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 116
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 117
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 118
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 5";
_root.levelname = "Dysfunction";
_root.levelpar = 16;
_root.reward = 750;
_root.timebonus = 1000;
_root.levelmoves = 0;
_root.gridsize = 40;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row1a" in Frame 118
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 118
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 118
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 118
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 118
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 118
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 118
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 118
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 118
onClipEvent (enterFrame) {
ontarget = 0;
target = 4;
if (_root.canmove == true) {
i = 1;
while (i < 5) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 118
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 119
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
if (_root.totalscore > _root.highscore1) {
_root.highscore1 = _root.totalscore;
savefile.data.highscore1 = _root.highscore1;
savefile.flush();
}
_root.levelnumber = "Easy";
_root.levelname = "Completed!";
i = 0;
while (i < _root.levelpararray.length) {
_root.levelpar = _root.levelpar + _root.levelpararray[i];
_root.levelmoves = _root.levelmoves + _root.levelmovesarray[i];
i++;
}
_root.l0 = _root.levelnamearray[0];
_root.t0 = _root.levelpararray[0];
_root.m0 = _root.levelmovesarray[0];
_root.s0 = _root.levelscorearray[0];
_root.l1 = _root.levelnamearray[1];
_root.t1 = _root.levelpararray[1];
_root.m1 = _root.levelmovesarray[1];
_root.s1 = _root.levelscorearray[1];
_root.l2 = _root.levelnamearray[2];
_root.t2 = _root.levelpararray[2];
_root.m2 = _root.levelmovesarray[2];
_root.s2 = _root.levelscorearray[2];
_root.l3 = _root.levelnamearray[3];
_root.t3 = _root.levelpararray[3];
_root.m3 = _root.levelmovesarray[3];
_root.s3 = _root.levelscorearray[3];
_root.l4 = _root.levelnamearray[4];
_root.t4 = _root.levelpararray[4];
_root.m4 = _root.levelmovesarray[4];
_root.s4 = _root.levelscorearray[4];
_root.timebonus = 0;
stop();
Frame 120
stopAllSounds();
gotoAndPlay ("level");
Frame 122
_root.totalscore = 0;
_root.levelnumber = "Level 6";
_root.levelname = "Shifty";
_root.levelpar = 21;
_root.reward = 750;
_root.timebonus = 1000;
_root.levelmoves = 0;
_root.levelmovesarray = new Array();
_root.levelmovesarray.length = 0;
_root.levelpararray = new Array();
_root.levelpararray.length = 0;
_root.levelscorearray = new Array();
_root.levelscorearray.length = 0;
_root.levelnamearray = new Array();
_root.levelnamearray.length = 0;
_root.gridsize = 40;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row1a" in Frame 122
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 122
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 122
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 122
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 122
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 122
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 122
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 122
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 122
onClipEvent (enterFrame) {
ontarget = 0;
target = 6;
if (_root.canmove == true) {
i = 1;
while (i < (target + 1)) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 122
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 123
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 124
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 7";
_root.levelname = "Crossover";
_root.levelpar = 24;
_root.reward = 750;
_root.timebonus = 1000;
_root.levelmoves = 0;
_root.gridsize = 40;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row1a" in Frame 124
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 124
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 124
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 124
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 124
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 124
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 124
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 124
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 124
onClipEvent (enterFrame) {
ontarget = 0;
target = 4;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 124
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 125
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 126
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 8";
_root.levelname = "Tag";
_root.levelpar = 16;
_root.reward = 750;
_root.timebonus = 1000;
_root.levelmoves = 0;
_root.gridsize = 40;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row1a" in Frame 126
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 126
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 126
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 126
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 126
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 126
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 126
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 126
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 126
onClipEvent (enterFrame) {
ontarget = 0;
target = 4;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 126
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 127
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 128
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 9";
_root.levelname = "Enlarge";
_root.levelpar = 6;
_root.reward = 1000;
_root.timebonus = 1000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 128
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 128
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 128
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 128
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 128
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 128
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 128
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 128
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 128
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 128
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 128
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 128
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 128
onClipEvent (enterFrame) {
ontarget = 0;
target = 5;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 128
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 129
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 130
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 10";
_root.levelname = "Mixed";
_root.levelpar = 30;
_root.reward = 1000;
_root.timebonus = 1500;
_root.levelmoves = 0;
_root.gridsize = 40;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row1a" in Frame 130
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 130
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 130
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 130
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 130
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 130
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 130
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 130
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 130
onClipEvent (enterFrame) {
ontarget = 0;
target = 6;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 130
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 131
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 132
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 11";
_root.levelname = "Break in";
_root.levelpar = 16;
_root.reward = 1000;
_root.timebonus = 1500;
_root.levelmoves = 0;
_root.gridsize = 40;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row1a" in Frame 132
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 132
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 132
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 132
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 132
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 132
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 132
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 132
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 132
onClipEvent (enterFrame) {
ontarget = 0;
target = 10;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 132
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 133
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 134
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 12";
_root.levelname = "Perpendicular";
_root.levelpar = 36;
_root.reward = 1000;
_root.timebonus = 1500;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 134
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 134
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 134
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 134
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 134
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 134
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 134
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 134
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 134
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 134
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 134
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 134
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 134
onClipEvent (enterFrame) {
ontarget = 0;
target = 6;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 134
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 135
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 136
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 13";
_root.levelname = "Collapse";
_root.levelpar = 36;
_root.reward = 1000;
_root.timebonus = 1500;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 136
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 136
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 136
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 136
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 136
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 136
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 136
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 136
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 136
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 136
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 136
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 136
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 136
onClipEvent (enterFrame) {
ontarget = 0;
target = 8;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 136
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 137
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 138
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 14";
_root.levelname = "Stretched";
_root.levelpar = 40;
_root.reward = 1000;
_root.timebonus = 1500;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 138
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 138
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 138
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 138
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 138
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 138
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 138
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 138
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 138
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 138
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 138
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 138
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 138
onClipEvent (enterFrame) {
ontarget = 0;
target = 6;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 138
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 139
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 140
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 15";
_root.levelname = "Reactor";
_root.levelpar = 30;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 140
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 140
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 140
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 140
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 140
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 140
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 140
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 140
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 140
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 140
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 140
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 140
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 140
onClipEvent (enterFrame) {
ontarget = 0;
target = 8;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 140
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 141
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
if (_root.totalscore > _root.highscore2) {
_root.highscore2 = _root.totalscore;
savefile.data.highscore2 = _root.highscore2;
savefile.flush();
}
_root.levelnumber = "Semi-Easy";
_root.levelname = "Completed!";
i = 0;
while (i < _root.levelpararray.length) {
_root.levelpar = _root.levelpar + _root.levelpararray[i];
_root.levelmoves = _root.levelmoves + _root.levelmovesarray[i];
i++;
}
_root.l0 = _root.levelnamearray[0];
_root.t0 = _root.levelpararray[0];
_root.m0 = _root.levelmovesarray[0];
_root.s0 = _root.levelscorearray[0];
_root.l1 = _root.levelnamearray[1];
_root.t1 = _root.levelpararray[1];
_root.m1 = _root.levelmovesarray[1];
_root.s1 = _root.levelscorearray[1];
_root.l2 = _root.levelnamearray[2];
_root.t2 = _root.levelpararray[2];
_root.m2 = _root.levelmovesarray[2];
_root.s2 = _root.levelscorearray[2];
_root.l3 = _root.levelnamearray[3];
_root.t3 = _root.levelpararray[3];
_root.m3 = _root.levelmovesarray[3];
_root.s3 = _root.levelscorearray[3];
_root.l4 = _root.levelnamearray[4];
_root.t4 = _root.levelpararray[4];
_root.m4 = _root.levelmovesarray[4];
_root.s4 = _root.levelscorearray[4];
_root.l5 = _root.levelnamearray[5];
_root.t5 = _root.levelpararray[5];
_root.m5 = _root.levelmovesarray[5];
_root.s5 = _root.levelscorearray[5];
_root.l6 = _root.levelnamearray[6];
_root.t6 = _root.levelpararray[6];
_root.m6 = _root.levelmovesarray[6];
_root.s6 = _root.levelscorearray[6];
_root.l7 = _root.levelnamearray[7];
_root.t7 = _root.levelpararray[7];
_root.m7 = _root.levelmovesarray[7];
_root.s7 = _root.levelscorearray[7];
_root.l8 = _root.levelnamearray[8];
_root.t8 = _root.levelpararray[8];
_root.m8 = _root.levelmovesarray[8];
_root.s8 = _root.levelscorearray[8];
_root.l9 = _root.levelnamearray[9];
_root.t9 = _root.levelpararray[9];
_root.m9 = _root.levelmovesarray[9];
_root.s9 = _root.levelscorearray[9];
_root.timebonus = 0;
stop();
Frame 142
stopAllSounds();
gotoAndPlay ("level");
Frame 144
_root.totalscore = 0;
_root.levelnumber = "Level 16";
_root.levelname = "Mess";
_root.levelpar = 12;
_root.reward = 1000;
_root.timebonus = 1500;
_root.levelmoves = 0;
_root.levelmovesarray = new Array();
_root.levelmovesarray.length = 0;
_root.levelpararray = new Array();
_root.levelpararray.length = 0;
_root.levelscorearray = new Array();
_root.levelscorearray.length = 0;
_root.levelnamearray = new Array();
_root.levelnamearray.length = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 144
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 144
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 144
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 144
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 144
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 144
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 144
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 144
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 144
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 144
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 144
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 144
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 144
onClipEvent (enterFrame) {
ontarget = 0;
target = 6;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 144
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 145
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 146
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 17";
_root.levelname = "Right angle";
_root.levelpar = 30;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 146
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 146
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 146
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 146
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 146
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 146
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 146
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 146
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 146
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 146
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 146
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 146
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 146
onClipEvent (enterFrame) {
ontarget = 0;
target = 7;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 146
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 147
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 148
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 18";
_root.levelname = "Crossover 2";
_root.levelpar = 40;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 148
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 148
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 148
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 148
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 148
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 148
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 148
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 148
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 148
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 148
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 148
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 148
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 148
onClipEvent (enterFrame) {
ontarget = 0;
target = 6;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 148
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 149
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 150
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 19";
_root.levelname = "Spread";
_root.levelpar = 20;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 150
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 150
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 150
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 150
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 150
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 150
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 150
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 150
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 150
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 150
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 150
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 150
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 150
onClipEvent (enterFrame) {
ontarget = 0;
target = 3;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 21;
while (i < 31) {
if (_root.bluenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 150
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 151
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 152
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 20";
_root.levelname = "Plus";
_root.levelpar = 30;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 152
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 152
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 152
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 152
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 152
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 152
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 152
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 152
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 152
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 152
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 152
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 152
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 152
onClipEvent (enterFrame) {
ontarget = 0;
target = 8;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 152
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 153
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 154
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 21";
_root.levelname = "Guards";
_root.levelpar = 40;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 154
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 154
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 154
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 154
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 154
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 154
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 154
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 154
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 154
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 154
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 154
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 154
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 154
onClipEvent (enterFrame) {
ontarget = 0;
target = 8;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 154
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 155
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 156
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 22";
_root.levelname = "Mono";
_root.levelpar = 20;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 156
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 156
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 156
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 156
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 156
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 156
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 156
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 156
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 156
onClipEvent (enterFrame) {
ontarget = 0;
target = 3;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 21;
while (i < 31) {
if (_root.bluenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 156
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 157
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 158
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 23";
_root.levelname = "Gridlocked";
_root.levelpar = 30;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 158
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 158
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 158
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 158
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 158
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 158
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 158
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 158
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 158
onClipEvent (enterFrame) {
ontarget = 0;
target = 4;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 21;
while (i < 31) {
if (_root.bluenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 158
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 159
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 160
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 24";
_root.levelname = "Paralytic";
_root.levelpar = 15;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 160
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 160
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 160
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 160
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 160
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 160
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 160
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 160
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 160
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 160
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 160
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 160
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 160
onClipEvent (enterFrame) {
ontarget = 0;
target = 3;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 21;
while (i < 31) {
if (_root.bluenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 160
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 161
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 162
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 25";
_root.levelname = "Reverse";
_root.levelpar = 20;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 162
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 162
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 162
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 162
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 162
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 162
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 162
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 162
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 162
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 162
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 162
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 162
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 162
onClipEvent (enterFrame) {
ontarget = 0;
target = 9;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 21;
while (i < 31) {
if (_root.bluenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 162
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 163
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
if (_root.totalscore > _root.highscore3) {
_root.highscore3 = _root.totalscore;
savefile.data.highscore3 = _root.highscore3;
savefile.flush();
}
_root.levelnumber = "Not Easy";
_root.levelname = "Completed!";
i = 0;
while (i < _root.levelpararray.length) {
_root.levelpar = _root.levelpar + _root.levelpararray[i];
_root.levelmoves = _root.levelmoves + _root.levelmovesarray[i];
i++;
}
_root.l0 = _root.levelnamearray[0];
_root.t0 = _root.levelpararray[0];
_root.m0 = _root.levelmovesarray[0];
_root.s0 = _root.levelscorearray[0];
_root.l1 = _root.levelnamearray[1];
_root.t1 = _root.levelpararray[1];
_root.m1 = _root.levelmovesarray[1];
_root.s1 = _root.levelscorearray[1];
_root.l2 = _root.levelnamearray[2];
_root.t2 = _root.levelpararray[2];
_root.m2 = _root.levelmovesarray[2];
_root.s2 = _root.levelscorearray[2];
_root.l3 = _root.levelnamearray[3];
_root.t3 = _root.levelpararray[3];
_root.m3 = _root.levelmovesarray[3];
_root.s3 = _root.levelscorearray[3];
_root.l4 = _root.levelnamearray[4];
_root.t4 = _root.levelpararray[4];
_root.m4 = _root.levelmovesarray[4];
_root.s4 = _root.levelscorearray[4];
_root.l5 = _root.levelnamearray[5];
_root.t5 = _root.levelpararray[5];
_root.m5 = _root.levelmovesarray[5];
_root.s5 = _root.levelscorearray[5];
_root.l6 = _root.levelnamearray[6];
_root.t6 = _root.levelpararray[6];
_root.m6 = _root.levelmovesarray[6];
_root.s6 = _root.levelscorearray[6];
_root.l7 = _root.levelnamearray[7];
_root.t7 = _root.levelpararray[7];
_root.m7 = _root.levelmovesarray[7];
_root.s7 = _root.levelscorearray[7];
_root.l8 = _root.levelnamearray[8];
_root.t8 = _root.levelpararray[8];
_root.m8 = _root.levelmovesarray[8];
_root.s8 = _root.levelscorearray[8];
_root.l9 = _root.levelnamearray[9];
_root.t9 = _root.levelpararray[9];
_root.m9 = _root.levelmovesarray[9];
_root.s9 = _root.levelscorearray[9];
_root.timebonus = 0;
stop();
Frame 164
stopAllSounds();
gotoAndPlay ("level");
Frame 166
_root.totalscore = 0;
_root.levelnumber = "Level 26";
_root.levelname = "Sixes";
_root.levelpar = 38;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.levelmovesarray = new Array();
_root.levelmovesarray.length = 0;
_root.levelpararray = new Array();
_root.levelpararray.length = 0;
_root.levelscorearray = new Array();
_root.levelscorearray.length = 0;
_root.levelnamearray = new Array();
_root.levelnamearray.length = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "collumn3a" in Frame 166
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 166
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 166
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 166
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 166
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 166
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 166
onClipEvent (enterFrame) {
ontarget = 0;
target = 6;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 21;
while (i < 31) {
if (_root.bluenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 166
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 166
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 216 MovieClip in Frame 166
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 167
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 168
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 27";
_root.levelname = "Singularity";
_root.levelpar = 18;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row2a" in Frame 168
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 168
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 168
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 168
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 168
onClipEvent (enterFrame) {
ontarget = 0;
target = 4;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 21;
while (i < 31) {
if (_root.bluenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 168
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 169
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 170
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 28";
_root.levelname = "Sortium";
_root.levelpar = 24;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row2a" in Frame 170
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 170
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 170
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 170
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 170
onClipEvent (enterFrame) {
ontarget = 0;
target = 4;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 21;
while (i < 31) {
if (_root.bluenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 170
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 170
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 216 MovieClip in Frame 170
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 171
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 172
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 29";
_root.levelname = "Rave";
_root.levelpar = 50;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 172
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 172
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 172
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 172
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 172
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 172
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 172
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 172
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 172
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 172
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 172
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 172
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 172
onClipEvent (enterFrame) {
ontarget = 0;
target = 8;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 21;
while (i < 31) {
if (_root.bluenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 31;
while (i < 41) {
if (_root.purplenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 172
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 173
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 174
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 30";
_root.levelname = "Swapsicle";
_root.levelpar = 20;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 174
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 174
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 174
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 174
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 174
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 174
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 174
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 174
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 174
onClipEvent (enterFrame) {
ontarget = 0;
target = 3;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 21;
while (i < 31) {
if (_root.bluenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 174
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 175
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 176
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 31";
_root.levelname = "Muddle";
_root.levelpar = 40;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 176
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 176
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 176
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 176
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 176
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 176
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 176
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 176
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 176
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 176
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 176
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 176
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 176
onClipEvent (enterFrame) {
ontarget = 0;
target = 8;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 21;
while (i < 31) {
if (_root.bluenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 31;
while (i < 41) {
if (_root.purplenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 176
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 177
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 178
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 32";
_root.levelname = "Reflection";
_root.levelpar = 15;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row2a" in Frame 178
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 178
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 178
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 178
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 178
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 178
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 178
onClipEvent (enterFrame) {
ontarget = 0;
target = 4;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 21;
while (i < 31) {
if (_root.bluenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 31;
while (i < 41) {
if (_root.purplenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 178
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 179
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 180
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 33";
_root.levelname = "Armoury";
_root.levelpar = 39;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 180
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 180
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 180
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 180
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 180
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 180
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 180
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 180
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 180
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 180
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 180
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 180
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 180
onClipEvent (enterFrame) {
ontarget = 0;
target = 7;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 21;
while (i < 31) {
if (_root.bluenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 31;
while (i < 41) {
if (_root.purplenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 180
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 181
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 182
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 34";
_root.levelname = "Inside Out";
_root.levelpar = 100;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 182
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 182
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 182
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 182
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 182
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 182
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 182
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 182
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 182
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 182
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 182
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 182
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 182
onClipEvent (enterFrame) {
ontarget = 0;
target = 13;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 21;
while (i < 31) {
if (_root.bluenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 31;
while (i < 41) {
if (_root.purplenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if (ontarget >= target) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 182
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 183
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
play();
Frame 184
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.levelnumber = "Level 35";
_root.levelname = "Mastery";
_root.levelpar = 50;
_root.reward = 1500;
_root.timebonus = 2000;
_root.levelmoves = 0;
_root.gridsize = 35;
_root.canmove = true;
stop();
Instance of Symbol 197 MovieClip "row3a" in Frame 184
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row3b._x = _root.row3b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row3b" in Frame 184
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row3a._x = _root.row3a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3a" in Frame 184
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn3b._y = _root.collumn3b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn3b" in Frame 184
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn3a._y = _root.collumn3a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1a" in Frame 184
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row1b._x = _root.row1b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row1b" in Frame 184
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row1a._x = _root.row1a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2a" in Frame 184
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x - (_root.gridsize / 10);
}
i++;
}
_root.row2b._x = _root.row2b._x - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "row2b" in Frame 184
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_x = (_x + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._y == this._y) {
_root["ball" + i]._x = _root["ball" + i]._x + (_root.gridsize / 10);
}
i++;
}
_root.row2a._x = _root.row2a._x + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1a" in Frame 184
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn1b._y = _root.collumn1b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn1b" in Frame 184
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn1a._y = _root.collumn1a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2a" in Frame 184
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y - (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y - (_root.gridsize / 10);
}
i++;
}
_root.collumn2b._y = _root.collumn2b._y - (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 197 MovieClip "collumn2b" in Frame 184
onClipEvent (load) {
moving = 10;
}
onClipEvent (enterFrame) {
if (moving < 10) {
_y = (_y + (_root.gridsize / 10));
i = 1;
while (i < 50) {
if (_root["ball" + i]._x == this._x) {
_root["ball" + i]._y = _root["ball" + i]._y + (_root.gridsize / 10);
}
i++;
}
_root.collumn2a._y = _root.collumn2a._y + (_root.gridsize / 10);
moving++;
this.play();
if (moving == 10) {
_root.canmove = true;
}
}
}
on (release) {
if (_root.canmove == true) {
_root.canmove = false;
if (!_root.stopper.hitTest(_x, _y, true)) {
moving = 0;
} else {
_root.canmove = true;
}
}
}
Instance of Symbol 238 MovieClip in Frame 184
onClipEvent (enterFrame) {
ontarget = 0;
target = 10;
if (_root.canmove == true) {
i = 1;
while (i < 11) {
if (_root.rednodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 11;
while (i < 21) {
if (_root.greennodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 21;
while (i < 31) {
if (_root.bluenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
i = 31;
while (i < 41) {
if (_root.purplenodes.hitTest(_root["ball" + i]._x, _root["ball" + i]._y, true)) {
ontarget = ontarget + 1;
_root["ball" + i].gotoAndStop(2);
} else {
_root["ball" + i].gotoAndStop(1);
}
i++;
}
}
if ((ontarget >= target) and (_root.canmove == true)) {
_root.nextFrame();
}
}
Instance of Symbol 216 MovieClip in Frame 184
onClipEvent (load) {
i = 1;
while (i < 5) {
this[("collumn" + i) + "aX"] = _root[("collumn" + i) + "a"]._x;
this[("collumn" + i) + "aY"] = _root[("collumn" + i) + "a"]._y;
this[("collumn" + i) + "bX"] = _root[("collumn" + i) + "b"]._x;
this[("collumn" + i) + "bY"] = _root[("collumn" + i) + "b"]._y;
this[("row" + i) + "aX"] = _root[("row" + i) + "a"]._x;
this[("row" + i) + "aY"] = _root[("row" + i) + "a"]._y;
this[("row" + i) + "bX"] = _root[("row" + i) + "b"]._x;
this[("row" + i) + "bY"] = _root[("row" + i) + "b"]._y;
i++;
}
i = 1;
while (i < 41) {
this[("ball" + i) + "X"] = _root["ball" + i]._x;
this[("ball" + i) + "Y"] = _root["ball" + i]._y;
i++;
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
this.gotoAndPlay(3);
i = 1;
while (i < 5) {
_root[("collumn" + i) + "a"]._x = this[("collumn" + i) + "aX"];
_root[("collumn" + i) + "a"]._y = this[("collumn" + i) + "aY"];
_root[("collumn" + i) + "b"]._x = this[("collumn" + i) + "bX"];
_root[("collumn" + i) + "b"]._y = this[("collumn" + i) + "bY"];
_root[("row" + i) + "a"]._x = this[("row" + i) + "aX"];
_root[("row" + i) + "a"]._y = this[("row" + i) + "aY"];
_root[("row" + i) + "b"]._x = this[("row" + i) + "bX"];
_root[("row" + i) + "b"]._y = this[("row" + i) + "bY"];
i++;
}
i = 1;
while (i < 41) {
_root["ball" + i]._x = this[("ball" + i) + "X"];
_root["ball" + i]._y = this[("ball" + i) + "Y"];
i++;
}
}
Frame 185
_root.levelmovesarray.push(_root.levelmoves);
_root.levelpararray.push(_root.levelpar);
_root.levelscorearray.push(_root.reward + _root.timebonus);
_root.levelnamearray.push(_root.levelname);
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
_root.totalscore = _root.totalscore + (_root.timebonus + _root.reward);
if (_root.totalscore > _root.highscore4) {
_root.highscore4 = _root.totalscore;
savefile.data.highscore4 = _root.highscore4;
savefile.flush();
}
_root.levelnumber = "Hard";
_root.levelname = "Completed!";
i = 0;
while (i < _root.levelpararray.length) {
_root.levelpar = _root.levelpar + _root.levelpararray[i];
_root.levelmoves = _root.levelmoves + _root.levelmovesarray[i];
i++;
}
_root.l0 = _root.levelnamearray[0];
_root.t0 = _root.levelpararray[0];
_root.m0 = _root.levelmovesarray[0];
_root.s0 = _root.levelscorearray[0];
_root.l1 = _root.levelnamearray[1];
_root.t1 = _root.levelpararray[1];
_root.m1 = _root.levelmovesarray[1];
_root.s1 = _root.levelscorearray[1];
_root.l2 = _root.levelnamearray[2];
_root.t2 = _root.levelpararray[2];
_root.m2 = _root.levelmovesarray[2];
_root.s2 = _root.levelscorearray[2];
_root.l3 = _root.levelnamearray[3];
_root.t3 = _root.levelpararray[3];
_root.m3 = _root.levelmovesarray[3];
_root.s3 = _root.levelscorearray[3];
_root.l4 = _root.levelnamearray[4];
_root.t4 = _root.levelpararray[4];
_root.m4 = _root.levelmovesarray[4];
_root.s4 = _root.levelscorearray[4];
_root.l5 = _root.levelnamearray[5];
_root.t5 = _root.levelpararray[5];
_root.m5 = _root.levelmovesarray[5];
_root.s5 = _root.levelscorearray[5];
_root.l6 = _root.levelnamearray[6];
_root.t6 = _root.levelpararray[6];
_root.m6 = _root.levelmovesarray[6];
_root.s6 = _root.levelscorearray[6];
_root.l7 = _root.levelnamearray[7];
_root.t7 = _root.levelpararray[7];
_root.m7 = _root.levelmovesarray[7];
_root.s7 = _root.levelscorearray[7];
_root.l8 = _root.levelnamearray[8];
_root.t8 = _root.levelpararray[8];
_root.m8 = _root.levelmovesarray[8];
_root.s8 = _root.levelscorearray[8];
_root.l9 = _root.levelnamearray[9];
_root.t9 = _root.levelpararray[9];
_root.m9 = _root.levelmovesarray[9];
_root.s9 = _root.levelscorearray[9];
_root.timebonus = 0;
stop();
Frame 186
stopAllSounds();
gotoAndPlay ("level");
Symbol 15 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 73 MovieClip Frame 138
_alpha = (_alpha - 10);
Symbol 73 MovieClip Frame 139
_alpha = (_alpha - 10);
Symbol 73 MovieClip Frame 140
_alpha = (_alpha - 10);
Symbol 73 MovieClip Frame 141
_alpha = (_alpha - 10);
Symbol 73 MovieClip Frame 142
_alpha = (_alpha - 10);
Symbol 73 MovieClip Frame 143
_alpha = (_alpha - 10);
Symbol 73 MovieClip Frame 144
_alpha = (_alpha - 10);
Symbol 73 MovieClip Frame 145
_alpha = (_alpha - 10);
Symbol 73 MovieClip Frame 146
_alpha = (_alpha - 10);
Symbol 73 MovieClip Frame 147
_alpha = (_alpha - 10);
Symbol 73 MovieClip Frame 148
_root.play();
Symbol 89 MovieClip Frame 1
_root.stop;
Symbol 89 MovieClip Frame 230
_root.play();
Symbol 97 Button
on (release) {
_root.gotoAndPlay("level");
}
Symbol 101 Button
on (release) {
_root.gotoAndPlay("instructions");
}
Symbol 105 Button
on (release) {
getURL ("http://www.armorbot.com/mytable/?id=723", "_blank");
}
Symbol 109 Button
on (release) {
_root.gotoAndPlay("credits");
}
Symbol 114 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
stopAllSounds();
stop();
Symbol 126 Button
on (release) {
gotoAndPlay ("menu");
}
Symbol 131 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 153 Button
on (release) {
gotoAndPlay ("scores");
}
Symbol 160 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 180 Button
on (release) {
play();
}
Symbol 184 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 2
stop();
Symbol 216 MovieClip Frame 1
stop();
Symbol 230 Button
on (release) {
if (_root.totalhighscores > _root.submitscore) {
_root.submitscore = _root.totalhighscores;
savefile.data.submitscore = _root.submitscore;
savefile.flush();
_root.gotoAndPlay("submitted");
}
}
Instance of Symbol 249 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
if (_root.music_on == undefined) {
_root.music_on = true;
}
number = int(random(4));
_parent.music1.stop();
_parent.music2.stop();
_parent.music3.stop();
_parent.music4.stop();
if (_root.music_on == true) {
if (number == 0) {
_parent.music1.play();
}
if (number == 1) {
_parent.music2.play();
}
if (number == 2) {
_parent.music3.play();
}
if (number == 3) {
_parent.music4.play();
}
}
}
on (release) {
_root.music_on = false;
_parent.music1.stop();
_parent.music2.stop();
_parent.music3.stop();
_parent.music4.stop();
}
onClipEvent (load) {
function __f_unload(eventObj) {
_parent.music1.stop();
_parent.music2.stop();
_parent.music3.stop();
_parent.music4.stop();
}
this.addEventListener("unload", __f_unload);
}
Instance of Symbol 251 MovieClip "music1" in Symbol 258 MovieClip Frame 1
on (release) {
this.play();
_parent.music2.stop();
_parent.music3.stop();
_parent.music4.stop();
}
Instance of Symbol 253 MovieClip "music2" in Symbol 258 MovieClip Frame 1
on (release) {
_parent.music1.stop();
this.play();
_parent.music3.stop();
_parent.music4.stop();
}
Instance of Symbol 255 MovieClip "music3" in Symbol 258 MovieClip Frame 1
on (release) {
_parent.music1.stop();
_parent.music2.stop();
this.play();
_parent.music4.stop();
}
Instance of Symbol 257 MovieClip "music4" in Symbol 258 MovieClip Frame 1
on (release) {
_parent.music1.stop();
_parent.music2.stop();
_parent.music3.stop();
this.play();
}
Symbol 294 Button
on (release) {
stopAllSounds();
_root.gotoAndPlay("level");
}