Frame 1
function doSomething() {
getURL ("http://www.happyfatandchinese.com", _blank);
}
function doSomething2() {
getURL ("http://www.happyfatandchineseforum.com", _blank);
}
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Happyfat and Chinese", doSomething);
Functioned2 = new ContextMenuItem("Happyfat and Chinese Forum", doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;
Frame 2
myLoaded = Math.round(getBytesLoaded());
myTotal = Math.round(getBytesTotal());
myPercent = myLoaded / myTotal;
preloadbar._width = myPercent * 400;
if (myLoaded == myTotal) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 15
stopAllSounds();
Frame 22
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__("0eddaaff", this, 10301, true);
stop();
Frame 24
stop();
Frame 26
stop();
Frame 28
stop();
Frame 30
stop();
Frame 32
stop();
Frame 40
Mouse.show();
_root.totalscore = 0;
_root.level = 1;
_root.levelpar = 8;
_root.levellives = 3;
_root.levelcompletedscore = 0;
_root.bonusscore = 0;
_root.clicks = 0;
_root.levelscore = 0;
_root.bonuspar = 0;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.leveltext.text = "Level " + _root.level;
_root.partext.text = "Par " + _root.levelpar;
_root.levellivestext.text = "Lives " + _root.levellives;
_root.clickstext.text = "Clicks " + _root.clicks;
stopAllSounds();
Frame 79
stop();
Frame 80
_root.clicks = 0;
_root.clickstext.text = "Clicks " + _root.clicks;
_root.levellivestext.text = "Lives " + _root.levellives;
stopAllSounds();
Instance of Symbol 69 MovieClip "object" in Frame 80
onClipEvent (load) {
friction = "0.1";
targetx = 33;
targety = 210;
radius = 5;
}
onClipEvent (enterFrame) {
mouse_x = int(targetx - this._x);
mouse_y = int(targety - this._y);
if ((mouse_x > 0) && (mouse_y > 0)) {
quad = Number(4);
}
if ((mouse_x < 0) && (mouse_y > 0)) {
quad = Number(1);
}
if ((mouse_x < 0) && (mouse_y < 0)) {
quad = Number(2);
}
if ((mouse_x > 0) && (mouse_y < 0)) {
quad = Number(3);
}
abs_x = Math.abs(mouse_x);
abs_y = Math.abs(mouse_y);
tg = abs_y / abs_x;
_root.maths = (Math.atan(tg) * Number(180)) / 3.141593;
if (quad == 1) {
angle = Number(90) - Number(_root.maths);
}
if (quad == 2) {
angle = Number(90) + Number(_root.maths);
}
if (quad == 3) {
angle = Number(270) - Number(_root.maths);
}
if (quad == 4) {
angle = Number(270) + Number(_root.maths);
}
if (!_root.done) {
setProperty(_this, _rotation , angle);
_root.done = true;
}
speedx = difx * friction;
speedy = dify * friction;
setProperty(this, _y , _root.object._y + speedy);
setProperty(this, _x , _root.object._x + speedx);
difx = int(targetx) - this._x;
dify = int(targety) - this._y;
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.wall1.hitTest(X, Y, true)) {
_root.gotoAndPlay("level1dead");
}
i = i + 36;
}
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.end.hitTest(X, Y, true)) {
_root.gotoAndPlay("level1win");
}
i = i + 36;
}
}
Instance of Symbol 9 MovieClip [circle] "circle" in Frame 80
onClipEvent (load) {
Mouse.hide();
startDrag (this, true);
_root.drag = this;
radius = 5;
}
onClipEvent (mouseDown) {
_root.difx = this._x - _root.object._x;
_root.object.targetx = this._x;
_root.dify = this._y - _root.object._y;
_root.object.targety = this._y;
_root.done = eval("False");
_root.clicks++;
_root.clickstext.text = "Clicks " + _root.clicks;
this.gotoAndPlay("click");
gameclick = new Sound();
gameclick.attachSound("game-click");
gameclick.start(0, 1);
}
Frame 99
stop();
Frame 100
Mouse.show();
_root.levellives--;
if (_root.levellives < 1) {
gotoAndPlay ("gameover");
}
stopAllSounds();
Frame 117
stop();
Frame 118
stopAllSounds();
Frame 140
Mouse.show();
_root.levelcompletedscore = 100;
if (_root.clicks >= (_root.levelpar + 10)) {
trace("no bonus");
_root.par = false;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = true;
} else if (_root.clicks > _root.levelpar) {
trace("overpar");
_root.par = false;
_root.overpar = true;
_root.underpar = false;
_root.nobonus = false;
} else if (_root.clicks < _root.levelpar) {
trace("underpar");
_root.par = false;
_root.overpar = false;
_root.underpar = true;
_root.nobonus = false;
} else {
trace("par");
_root.par = true;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = false;
}
if (_root.par == true) {
_root.bonusscore = 100;
_root.bonuspar = 0;
_root.bonuspartext1.text = "Par (even) :";
_root.parpointstext1.text = ("" + _root.bonusscore) + " Points";
} else if (_root.overpar == true) {
_root.bonusscore = 100 - ((_root.clicks - _root.levelpar) * 10);
_root.bonuspar = _root.clicks - _root.levelpar;
_root.bonuspartext1.text = ("Par (+" + _root.bonuspar) + ") :";
_root.parpointstext1.text = ("" + _root.bonusscore) + " Points";
} else if (_root.underpar == true) {
_root.bonusscore = 100 + ((_root.levelpar - _root.clicks) * 10);
_root.bonuspar = _root.levelpar - _root.clicks;
_root.bonuspartext1.text = ("Par (-" + _root.bonuspar) + ") :";
_root.parpointstext1.text = ("" + _root.bonusscore) + " Points";
} else if (_root.nobonus == true) {
_root.bonusscore = 0;
_root.bonuspartext1.text = "Par (10+) :";
_root.parpointstext1.text = ("" + _root.bonusscore) + " Points";
}
_root.levelscore = (_root.levelcompletedscore + _root.bonusscore) * _root.levellives;
_root.totalscore = _root.totalscore + _root.levelscore;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.levelwintext.text = ((("You have completed level " + _root.level) + " in ") + _root.clicks) + " clicks!";
_root.levelwinlivestext1.text = _root.levellives;
_root.levelwinbonusscoretext.text = ("Total Level " + _root.level) + " Points";
_root.leveltotalscore.text = (((((_root.levelcompletedscore + " + ") + _root.bonusscore) + " x ") + _root.levellives) + " = ") + _root.levelscore;
Frame 180
stop();
Frame 181
Mouse.show();
_root.level = 2;
_root.levelpar = 7;
_root.levellives = 3;
_root.levelcompletedscore = 0;
_root.bonusscore = 0;
_root.clicks = 0;
_root.levelscore = 0;
_root.bonuspar = 0;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.leveltext.text = "Level " + _root.level;
_root.partext.text = "Par " + _root.levelpar;
_root.levellivestext.text = "Lives " + _root.levellives;
_root.clickstext.text = "Clicks " + _root.clicks;
stopAllSounds();
Frame 220
stop();
Frame 221
_root.clicks = 0;
_root.clickstext.text = "Clicks " + _root.clicks;
_root.levellivestext.text = "Lives " + _root.levellives;
stopAllSounds();
Instance of Symbol 69 MovieClip "object" in Frame 221
onClipEvent (load) {
friction = "0.1";
targetx = 45;
targety = 75;
radius = 5;
}
onClipEvent (enterFrame) {
mouse_x = int(targetx - this._x);
mouse_y = int(targety - this._y);
if ((mouse_x > 0) && (mouse_y > 0)) {
quad = Number(4);
}
if ((mouse_x < 0) && (mouse_y > 0)) {
quad = Number(1);
}
if ((mouse_x < 0) && (mouse_y < 0)) {
quad = Number(2);
}
if ((mouse_x > 0) && (mouse_y < 0)) {
quad = Number(3);
}
abs_x = Math.abs(mouse_x);
abs_y = Math.abs(mouse_y);
tg = abs_y / abs_x;
_root.maths = (Math.atan(tg) * Number(180)) / 3.141593;
if (quad == 1) {
angle = Number(90) - Number(_root.maths);
}
if (quad == 2) {
angle = Number(90) + Number(_root.maths);
}
if (quad == 3) {
angle = Number(270) - Number(_root.maths);
}
if (quad == 4) {
angle = Number(270) + Number(_root.maths);
}
if (!_root.done) {
setProperty(_this, _rotation , angle);
_root.done = true;
}
speedx = difx * friction;
speedy = dify * friction;
setProperty(this, _y , _root.object._y + speedy);
setProperty(this, _x , _root.object._x + speedx);
difx = int(targetx) - this._x;
dify = int(targety) - this._y;
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.wall2.hitTest(X, Y, true)) {
_root.gotoAndPlay("level2dead");
}
i = i + 36;
}
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.end.hitTest(X, Y, true)) {
_root.gotoAndPlay("level2win");
}
i = i + 36;
}
}
Instance of Symbol 9 MovieClip [circle] "circle" in Frame 221
onClipEvent (load) {
Mouse.hide();
startDrag (this, true);
_root.drag = this;
radius = 5;
}
onClipEvent (mouseDown) {
_root.difx = this._x - _root.object._x;
_root.object.targetx = this._x;
_root.dify = this._y - _root.object._y;
_root.object.targety = this._y;
_root.done = eval("False");
_root.clicks++;
_root.clickstext.text = "Clicks " + _root.clicks;
this.gotoAndPlay("click");
gameclick = new Sound();
gameclick.attachSound("game-click");
gameclick.start(0, 1);
}
Frame 240
stop();
Frame 241
Mouse.show();
_root.levellives--;
if (_root.levellives < 1) {
gotoAndPlay ("gameover");
}
stopAllSounds();
Frame 258
stop();
Frame 259
stopAllSounds();
Frame 281
Mouse.show();
_root.levelcompletedscore = 100;
if (_root.clicks >= (_root.levelpar + 10)) {
trace("no bonus");
_root.par = false;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = true;
} else if (_root.clicks > _root.levelpar) {
trace("overpar");
_root.par = false;
_root.overpar = true;
_root.underpar = false;
_root.nobonus = false;
} else if (_root.clicks < _root.levelpar) {
trace("underpar");
_root.par = false;
_root.overpar = false;
_root.underpar = true;
_root.nobonus = false;
} else {
trace("par");
_root.par = true;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = false;
}
if (_root.par == true) {
_root.bonusscore = 100;
_root.bonuspar = 0;
_root.bonuspartext2.text = "Par (even) :";
_root.parpointstext2.text = ("" + _root.bonusscore) + " Points";
} else if (_root.overpar == true) {
_root.bonusscore = 100 - ((_root.clicks - _root.levelpar) * 10);
_root.bonuspar = _root.clicks - _root.levelpar;
_root.bonuspartext2.text = ("Par (+" + _root.bonuspar) + ") :";
_root.parpointstext2.text = ("" + _root.bonusscore) + " Points";
} else if (_root.underpar == true) {
_root.bonusscore = 100 + ((_root.levelpar - _root.clicks) * 10);
_root.bonuspar = _root.levelpar - _root.clicks;
_root.bonuspartext2.text = ("Par (-" + _root.bonuspar) + ") :";
_root.parpointstext2.text = ("" + _root.bonusscore) + " Points";
} else if (_root.nobonus == true) {
_root.bonusscore = 0;
_root.bonuspartext2.text = "Par (10+) :";
_root.parpointstext2.text = ("" + _root.bonusscore) + " Points";
}
_root.levelscore = (_root.levelcompletedscore + _root.bonusscore) * _root.levellives;
_root.totalscore = _root.totalscore + _root.levelscore;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.levelwintext.text = ((("You have completed level " + _root.level) + " in ") + _root.clicks) + " clicks!";
_root.levelwinlivestext2.text = _root.levellives;
_root.levelwinbonusscoretext.text = ("Total Level " + _root.level) + " Points";
_root.leveltotalscore.text = (((((_root.levelcompletedscore + " + ") + _root.bonusscore) + " x ") + _root.levellives) + " = ") + _root.levelscore;
Frame 321
stop();
Frame 322
Mouse.show();
_root.level = 3;
_root.levelpar = 2;
_root.levellives = 3;
_root.levelcompletedscore = 0;
_root.bonusscore = 0;
_root.clicks = 0;
_root.levelscore = 0;
_root.bonuspar = 0;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.leveltext.text = "Level " + _root.level;
_root.partext.text = "Par " + _root.levelpar;
_root.levellivestext.text = "Lives " + _root.levellives;
_root.clickstext.text = "Clicks " + _root.clicks;
stopAllSounds();
Frame 361
stop();
Frame 362
_root.clicks = 0;
_root.clickstext.text = "Clicks " + _root.clicks;
_root.levellivestext.text = "Lives " + _root.levellives;
stopAllSounds();
Instance of Symbol 69 MovieClip "object" in Frame 362
onClipEvent (load) {
friction = "0.1";
targetx = 247;
targety = 400;
radius = 5;
}
onClipEvent (enterFrame) {
mouse_x = int(targetx - this._x);
mouse_y = int(targety - this._y);
if ((mouse_x > 0) && (mouse_y > 0)) {
quad = Number(4);
}
if ((mouse_x < 0) && (mouse_y > 0)) {
quad = Number(1);
}
if ((mouse_x < 0) && (mouse_y < 0)) {
quad = Number(2);
}
if ((mouse_x > 0) && (mouse_y < 0)) {
quad = Number(3);
}
abs_x = Math.abs(mouse_x);
abs_y = Math.abs(mouse_y);
tg = abs_y / abs_x;
_root.maths = (Math.atan(tg) * Number(180)) / 3.141593;
if (quad == 1) {
angle = Number(90) - Number(_root.maths);
}
if (quad == 2) {
angle = Number(90) + Number(_root.maths);
}
if (quad == 3) {
angle = Number(270) - Number(_root.maths);
}
if (quad == 4) {
angle = Number(270) + Number(_root.maths);
}
if (!_root.done) {
setProperty(_this, _rotation , angle);
_root.done = true;
}
speedx = difx * friction;
speedy = dify * friction;
setProperty(this, _y , _root.object._y + speedy);
setProperty(this, _x , _root.object._x + speedx);
difx = int(targetx) - this._x;
dify = int(targety) - this._y;
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.wall3.hitTest(X, Y, true)) {
_root.gotoAndPlay("level3dead");
}
i = i + 36;
}
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.end.hitTest(X, Y, true)) {
_root.gotoAndPlay("level3win");
}
i = i + 36;
}
}
Instance of Symbol 9 MovieClip [circle] "circle" in Frame 362
onClipEvent (load) {
Mouse.hide();
startDrag (this, true);
_root.drag = this;
radius = 5;
}
onClipEvent (mouseDown) {
_root.difx = this._x - _root.object._x;
_root.object.targetx = this._x;
_root.dify = this._y - _root.object._y;
_root.object.targety = this._y;
_root.done = eval("False");
_root.clicks++;
_root.clickstext.text = "Clicks " + _root.clicks;
this.gotoAndPlay("click");
gameclick = new Sound();
gameclick.attachSound("game-click");
gameclick.start(0, 1);
}
Frame 381
stop();
Frame 382
Mouse.show();
_root.levellives--;
if (_root.levellives < 1) {
gotoAndPlay ("gameover");
}
stopAllSounds();
Frame 399
stop();
Frame 400
stopAllSounds();
Frame 422
Mouse.show();
_root.levelcompletedscore = 100;
if (_root.clicks >= (_root.levelpar + 10)) {
trace("no bonus");
_root.par = false;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = true;
} else if (_root.clicks > _root.levelpar) {
trace("overpar");
_root.par = false;
_root.overpar = true;
_root.underpar = false;
_root.nobonus = false;
} else if (_root.clicks < _root.levelpar) {
trace("underpar");
_root.par = false;
_root.overpar = false;
_root.underpar = true;
_root.nobonus = false;
} else {
trace("par");
_root.par = true;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = false;
}
if (_root.par == true) {
_root.bonusscore = 100;
_root.bonuspar = 0;
_root.bonuspartext3.text = "Par (even) :";
_root.parpointstext3.text = ("" + _root.bonusscore) + " Points";
} else if (_root.overpar == true) {
_root.bonusscore = 100 - ((_root.clicks - _root.levelpar) * 10);
_root.bonuspar = _root.clicks - _root.levelpar;
_root.bonuspartext3.text = ("Par (+" + _root.bonuspar) + ") :";
_root.parpointstext3.text = ("" + _root.bonusscore) + " Points";
} else if (_root.underpar == true) {
_root.bonusscore = 100 + ((_root.levelpar - _root.clicks) * 10);
_root.bonuspar = _root.levelpar - _root.clicks;
_root.bonuspartext3.text = ("Par (-" + _root.bonuspar) + ") :";
_root.parpointstext3.text = ("" + _root.bonusscore) + " Points";
} else if (_root.nobonus == true) {
_root.bonusscore = 0;
_root.bonuspartext3.text = "Par (10+) :";
_root.parpointstext3.text = ("" + _root.bonusscore) + " Points";
}
_root.levelscore = (_root.levelcompletedscore + _root.bonusscore) * _root.levellives;
_root.totalscore = _root.totalscore + _root.levelscore;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.levelwintext.text = ((("You have completed level " + _root.level) + " in ") + _root.clicks) + " clicks!";
_root.levelwinlivestext3.text = _root.levellives;
_root.levelwinbonusscoretext.text = ("Total Level " + _root.level) + " Points";
_root.leveltotalscore.text = (((((_root.levelcompletedscore + " + ") + _root.bonusscore) + " x ") + _root.levellives) + " = ") + _root.levelscore;
Frame 462
stop();
Frame 463
Mouse.show();
_root.level = 4;
_root.levelpar = 3;
_root.levellives = 3;
_root.levelcompletedscore = 0;
_root.bonusscore = 0;
_root.clicks = 0;
_root.levelscore = 0;
_root.bonuspar = 0;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.leveltext.text = "Level " + _root.level;
_root.partext.text = "Par " + _root.levelpar;
_root.levellivestext.text = "Lives " + _root.levellives;
_root.clickstext.text = "Clicks " + _root.clicks;
stopAllSounds();
Frame 502
stop();
Frame 503
_root.clicks = 0;
_root.clickstext.text = "Clicks " + _root.clicks;
_root.levellivestext.text = "Lives " + _root.levellives;
stopAllSounds();
Instance of Symbol 69 MovieClip "object" in Frame 503
onClipEvent (load) {
friction = "0.1";
targetx = 35;
targety = 230;
radius = 5;
}
onClipEvent (enterFrame) {
mouse_x = int(targetx - this._x);
mouse_y = int(targety - this._y);
if ((mouse_x > 0) && (mouse_y > 0)) {
quad = Number(4);
}
if ((mouse_x < 0) && (mouse_y > 0)) {
quad = Number(1);
}
if ((mouse_x < 0) && (mouse_y < 0)) {
quad = Number(2);
}
if ((mouse_x > 0) && (mouse_y < 0)) {
quad = Number(3);
}
abs_x = Math.abs(mouse_x);
abs_y = Math.abs(mouse_y);
tg = abs_y / abs_x;
_root.maths = (Math.atan(tg) * Number(180)) / 3.141593;
if (quad == 1) {
angle = Number(90) - Number(_root.maths);
}
if (quad == 2) {
angle = Number(90) + Number(_root.maths);
}
if (quad == 3) {
angle = Number(270) - Number(_root.maths);
}
if (quad == 4) {
angle = Number(270) + Number(_root.maths);
}
if (!_root.done) {
setProperty(_this, _rotation , angle);
_root.done = true;
}
speedx = difx * friction;
speedy = dify * friction;
setProperty(this, _y , _root.object._y + speedy);
setProperty(this, _x , _root.object._x + speedx);
difx = int(targetx) - this._x;
dify = int(targety) - this._y;
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.wall4.hitTest(X, Y, true)) {
_root.gotoAndPlay("level4dead");
}
i = i + 36;
}
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.end.hitTest(X, Y, true)) {
_root.gotoAndPlay("level4win");
}
i = i + 36;
}
}
Instance of Symbol 9 MovieClip [circle] "circle" in Frame 503
onClipEvent (load) {
Mouse.hide();
startDrag (this, true);
_root.drag = this;
radius = 5;
}
onClipEvent (mouseDown) {
_root.difx = this._x - _root.object._x;
_root.object.targetx = this._x;
_root.dify = this._y - _root.object._y;
_root.object.targety = this._y;
_root.done = eval("False");
_root.clicks++;
_root.clickstext.text = "Clicks " + _root.clicks;
this.gotoAndPlay("click");
gameclick = new Sound();
gameclick.attachSound("game-click");
gameclick.start(0, 1);
}
Frame 522
stop();
Frame 523
Mouse.show();
_root.levellives--;
if (_root.levellives < 1) {
gotoAndPlay ("gameover");
}
stopAllSounds();
Frame 540
stop();
Frame 541
stopAllSounds();
Frame 563
Mouse.show();
_root.levelcompletedscore = 100;
if (_root.clicks >= (_root.levelpar + 10)) {
trace("no bonus");
_root.par = false;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = true;
} else if (_root.clicks > _root.levelpar) {
trace("overpar");
_root.par = false;
_root.overpar = true;
_root.underpar = false;
_root.nobonus = false;
} else if (_root.clicks < _root.levelpar) {
trace("underpar");
_root.par = false;
_root.overpar = false;
_root.underpar = true;
_root.nobonus = false;
} else {
trace("par");
_root.par = true;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = false;
}
if (_root.par == true) {
_root.bonusscore = 100;
_root.bonuspar = 0;
_root.bonuspartext4.text = "Par (even) :";
_root.parpointstext4.text = ("" + _root.bonusscore) + " Points";
} else if (_root.overpar == true) {
_root.bonusscore = 100 - ((_root.clicks - _root.levelpar) * 10);
_root.bonuspar = _root.clicks - _root.levelpar;
_root.bonuspartext4.text = ("Par (+" + _root.bonuspar) + ") :";
_root.parpointstext4.text = ("" + _root.bonusscore) + " Points";
} else if (_root.underpar == true) {
_root.bonusscore = 100 + ((_root.levelpar - _root.clicks) * 10);
_root.bonuspar = _root.levelpar - _root.clicks;
_root.bonuspartext4.text = ("Par (-" + _root.bonuspar) + ") :";
_root.parpointstext4.text = ("" + _root.bonusscore) + " Points";
} else if (_root.nobonus == true) {
_root.bonusscore = 0;
_root.bonuspartext4.text = "Par (10+) :";
_root.parpointstext4.text = ("" + _root.bonusscore) + " Points";
}
_root.levelscore = (_root.levelcompletedscore + _root.bonusscore) * _root.levellives;
_root.totalscore = _root.totalscore + _root.levelscore;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.levelwintext.text = ((("You have completed level " + _root.level) + " in ") + _root.clicks) + " clicks!";
_root.levelwinlivestext4.text = _root.levellives;
_root.levelwinbonusscoretext.text = ("Total Level " + _root.level) + " Points";
_root.leveltotalscore.text = (((((_root.levelcompletedscore + " + ") + _root.bonusscore) + " x ") + _root.levellives) + " = ") + _root.levelscore;
Frame 603
stop();
Frame 604
Mouse.show();
_root.level = 5;
_root.levelpar = 3;
_root.levellives = 3;
_root.levelcompletedscore = 0;
_root.bonusscore = 0;
_root.clicks = 0;
_root.levelscore = 0;
_root.bonuspar = 0;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.leveltext.text = "Level " + _root.level;
_root.partext.text = "Par " + _root.levelpar;
_root.levellivestext.text = "Lives " + _root.levellives;
_root.clickstext.text = "Clicks " + _root.clicks;
stopAllSounds();
Frame 643
stop();
Frame 644
_root.clicks = 0;
_root.clickstext.text = "Clicks " + _root.clicks;
_root.levellivestext.text = "Lives " + _root.levellives;
stopAllSounds();
Instance of Symbol 69 MovieClip "object" in Frame 644
onClipEvent (load) {
friction = "0.1";
targetx = 30;
targety = 395;
radius = 5;
}
onClipEvent (enterFrame) {
mouse_x = int(targetx - this._x);
mouse_y = int(targety - this._y);
if ((mouse_x > 0) && (mouse_y > 0)) {
quad = Number(4);
}
if ((mouse_x < 0) && (mouse_y > 0)) {
quad = Number(1);
}
if ((mouse_x < 0) && (mouse_y < 0)) {
quad = Number(2);
}
if ((mouse_x > 0) && (mouse_y < 0)) {
quad = Number(3);
}
abs_x = Math.abs(mouse_x);
abs_y = Math.abs(mouse_y);
tg = abs_y / abs_x;
_root.maths = (Math.atan(tg) * Number(180)) / 3.141593;
if (quad == 1) {
angle = Number(90) - Number(_root.maths);
}
if (quad == 2) {
angle = Number(90) + Number(_root.maths);
}
if (quad == 3) {
angle = Number(270) - Number(_root.maths);
}
if (quad == 4) {
angle = Number(270) + Number(_root.maths);
}
if (!_root.done) {
setProperty(_this, _rotation , angle);
_root.done = true;
}
speedx = difx * friction;
speedy = dify * friction;
setProperty(this, _y , _root.object._y + speedy);
setProperty(this, _x , _root.object._x + speedx);
difx = int(targetx) - this._x;
dify = int(targety) - this._y;
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.wall5.hitTest(X, Y, true)) {
_root.gotoAndPlay("level5dead");
}
i = i + 36;
}
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.end.hitTest(X, Y, true)) {
_root.gotoAndPlay("level5win");
}
i = i + 36;
}
}
Instance of Symbol 9 MovieClip [circle] "circle" in Frame 644
onClipEvent (load) {
Mouse.hide();
startDrag (this, true);
_root.drag = this;
radius = 5;
}
onClipEvent (mouseDown) {
_root.difx = this._x - _root.object._x;
_root.object.targetx = this._x;
_root.dify = this._y - _root.object._y;
_root.object.targety = this._y;
_root.done = eval("False");
_root.clicks++;
_root.clickstext.text = "Clicks " + _root.clicks;
this.gotoAndPlay("click");
gameclick = new Sound();
gameclick.attachSound("game-click");
gameclick.start(0, 1);
}
Frame 663
stop();
Frame 664
Mouse.show();
_root.levellives--;
if (_root.levellives < 1) {
gotoAndPlay ("gameover");
}
stopAllSounds();
Frame 681
stop();
Frame 682
stopAllSounds();
Frame 704
Mouse.show();
_root.levelcompletedscore = 100;
if (_root.clicks >= (_root.levelpar + 10)) {
trace("no bonus");
_root.par = false;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = true;
} else if (_root.clicks > _root.levelpar) {
trace("overpar");
_root.par = false;
_root.overpar = true;
_root.underpar = false;
_root.nobonus = false;
} else if (_root.clicks < _root.levelpar) {
trace("underpar");
_root.par = false;
_root.overpar = false;
_root.underpar = true;
_root.nobonus = false;
} else {
trace("par");
_root.par = true;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = false;
}
if (_root.par == true) {
_root.bonusscore = 100;
_root.bonuspar = 0;
_root.bonuspartext5.text = "Par (even) :";
_root.parpointstext5.text = ("" + _root.bonusscore) + " Points";
} else if (_root.overpar == true) {
_root.bonusscore = 100 - ((_root.clicks - _root.levelpar) * 10);
_root.bonuspar = _root.clicks - _root.levelpar;
_root.bonuspartext5.text = ("Par (+" + _root.bonuspar) + ") :";
_root.parpointstext5.text = ("" + _root.bonusscore) + " Points";
} else if (_root.underpar == true) {
_root.bonusscore = 100 + ((_root.levelpar - _root.clicks) * 10);
_root.bonuspar = _root.levelpar - _root.clicks;
_root.bonuspartext5.text = ("Par (-" + _root.bonuspar) + ") :";
_root.parpointstext5.text = ("" + _root.bonusscore) + " Points";
} else if (_root.nobonus == true) {
_root.bonusscore = 0;
_root.bonuspartext5.text = "Par (10+) :";
_root.parpointstext5.text = ("" + _root.bonusscore) + " Points";
}
_root.levelscore = (_root.levelcompletedscore + _root.bonusscore) * _root.levellives;
_root.totalscore = _root.totalscore + _root.levelscore;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.levelwintext.text = ((("You have completed level " + _root.level) + " in ") + _root.clicks) + " clicks!";
_root.levelwinlivestext5.text = _root.levellives;
_root.levelwinbonusscoretext.text = ("Total Level " + _root.level) + " Points";
_root.leveltotalscore.text = (((((_root.levelcompletedscore + " + ") + _root.bonusscore) + " x ") + _root.levellives) + " = ") + _root.levelscore;
Frame 744
stop();
Frame 745
Mouse.show();
_root.level = 6;
_root.levelpar = 8;
_root.levellives = 3;
_root.levelcompletedscore = 0;
_root.bonusscore = 0;
_root.clicks = 0;
_root.levelscore = 0;
_root.bonuspar = 0;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.leveltext.text = "Level " + _root.level;
_root.partext.text = "Par " + _root.levelpar;
_root.levellivestext.text = "Lives " + _root.levellives;
_root.clickstext.text = "Clicks " + _root.clicks;
stopAllSounds();
Frame 784
stop();
Frame 785
_root.clicks = 0;
_root.clickstext.text = "Clicks " + _root.clicks;
_root.levellivestext.text = "Lives " + _root.levellives;
stopAllSounds();
Instance of Symbol 69 MovieClip "object" in Frame 785
onClipEvent (load) {
friction = "0.1";
targetx = 247;
targety = 360;
radius = 5;
}
onClipEvent (enterFrame) {
mouse_x = int(targetx - this._x);
mouse_y = int(targety - this._y);
if ((mouse_x > 0) && (mouse_y > 0)) {
quad = Number(4);
}
if ((mouse_x < 0) && (mouse_y > 0)) {
quad = Number(1);
}
if ((mouse_x < 0) && (mouse_y < 0)) {
quad = Number(2);
}
if ((mouse_x > 0) && (mouse_y < 0)) {
quad = Number(3);
}
abs_x = Math.abs(mouse_x);
abs_y = Math.abs(mouse_y);
tg = abs_y / abs_x;
_root.maths = (Math.atan(tg) * Number(180)) / 3.141593;
if (quad == 1) {
angle = Number(90) - Number(_root.maths);
}
if (quad == 2) {
angle = Number(90) + Number(_root.maths);
}
if (quad == 3) {
angle = Number(270) - Number(_root.maths);
}
if (quad == 4) {
angle = Number(270) + Number(_root.maths);
}
if (!_root.done) {
setProperty(_this, _rotation , angle);
_root.done = true;
}
speedx = difx * friction;
speedy = dify * friction;
setProperty(this, _y , _root.object._y + speedy);
setProperty(this, _x , _root.object._x + speedx);
difx = int(targetx) - this._x;
dify = int(targety) - this._y;
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.wall6.hitTest(X, Y, true)) {
_root.gotoAndPlay("level6dead");
}
i = i + 36;
}
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.end.hitTest(X, Y, true)) {
_root.gotoAndPlay("level6win");
}
i = i + 36;
}
}
Instance of Symbol 230 MovieClip "wall6" in Frame 785
onClipEvent (load) {
gotoAndPlay (2);
}
Instance of Symbol 9 MovieClip [circle] "circle" in Frame 785
onClipEvent (load) {
Mouse.hide();
startDrag (this, true);
_root.drag = this;
radius = 5;
}
onClipEvent (mouseDown) {
_root.difx = this._x - _root.object._x;
_root.object.targetx = this._x;
_root.dify = this._y - _root.object._y;
_root.object.targety = this._y;
_root.done = eval("False");
_root.clicks++;
_root.clickstext.text = "Clicks " + _root.clicks;
this.gotoAndPlay("click");
gameclick = new Sound();
gameclick.attachSound("game-click");
gameclick.start(0, 1);
}
Frame 804
stop();
Frame 805
Mouse.show();
_root.wall6.gotoAndStop(1);
_root.levellives--;
if (_root.levellives < 1) {
gotoAndPlay ("gameover");
}
stopAllSounds();
Frame 822
stop();
Frame 823
stopAllSounds();
Frame 845
Mouse.show();
_root.levelcompletedscore = 100;
if (_root.clicks >= (_root.levelpar + 10)) {
trace("no bonus");
_root.par = false;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = true;
} else if (_root.clicks > _root.levelpar) {
trace("overpar");
_root.par = false;
_root.overpar = true;
_root.underpar = false;
_root.nobonus = false;
} else if (_root.clicks < _root.levelpar) {
trace("underpar");
_root.par = false;
_root.overpar = false;
_root.underpar = true;
_root.nobonus = false;
} else {
trace("par");
_root.par = true;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = false;
}
if (_root.par == true) {
_root.bonusscore = 100;
_root.bonuspar = 0;
_root.bonuspartext6.text = "Par (even) :";
_root.parpointstext6.text = ("" + _root.bonusscore) + " Points";
} else if (_root.overpar == true) {
_root.bonusscore = 100 - ((_root.clicks - _root.levelpar) * 10);
_root.bonuspar = _root.clicks - _root.levelpar;
_root.bonuspartext6.text = ("Par (+" + _root.bonuspar) + ") :";
_root.parpointstext6.text = ("" + _root.bonusscore) + " Points";
} else if (_root.underpar == true) {
_root.bonusscore = 100 + ((_root.levelpar - _root.clicks) * 10);
_root.bonuspar = _root.levelpar - _root.clicks;
_root.bonuspartext6.text = ("Par (-" + _root.bonuspar) + ") :";
_root.parpointstext6.text = ("" + _root.bonusscore) + " Points";
} else if (_root.nobonus == true) {
_root.bonusscore = 0;
_root.bonuspartext6.text = "Par (10+) :";
_root.parpointstext6.text = ("" + _root.bonusscore) + " Points";
}
_root.levelscore = (_root.levelcompletedscore + _root.bonusscore) * _root.levellives;
_root.totalscore = _root.totalscore + _root.levelscore;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.levelwintext.text = ((("You have completed level " + _root.level) + " in ") + _root.clicks) + " clicks!";
_root.levelwinlivestext6.text = _root.levellives;
_root.levelwinbonusscoretext.text = ("Total Level " + _root.level) + " Points";
_root.leveltotalscore.text = (((((_root.levelcompletedscore + " + ") + _root.bonusscore) + " x ") + _root.levellives) + " = ") + _root.levelscore;
Frame 885
stop();
Frame 886
Mouse.show();
_root.level = 7;
_root.levelpar = 7;
_root.levellives = 3;
_root.levelcompletedscore = 0;
_root.bonusscore = 0;
_root.clicks = 0;
_root.levelscore = 0;
_root.bonuspar = 0;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.leveltext.text = "Level " + _root.level;
_root.partext.text = "Par " + _root.levelpar;
_root.levellivestext.text = "Lives " + _root.levellives;
_root.clickstext.text = "Clicks " + _root.clicks;
stopAllSounds();
Frame 925
stop();
Frame 926
_root.clicks = 0;
_root.clickstext.text = "Clicks " + _root.clicks;
_root.levellivestext.text = "Lives " + _root.levellives;
stopAllSounds();
Instance of Symbol 69 MovieClip "object" in Frame 926
onClipEvent (load) {
friction = "0.1";
targetx = 65;
targety = 370;
radius = 5;
}
onClipEvent (enterFrame) {
mouse_x = int(targetx - this._x);
mouse_y = int(targety - this._y);
if ((mouse_x > 0) && (mouse_y > 0)) {
quad = Number(4);
}
if ((mouse_x < 0) && (mouse_y > 0)) {
quad = Number(1);
}
if ((mouse_x < 0) && (mouse_y < 0)) {
quad = Number(2);
}
if ((mouse_x > 0) && (mouse_y < 0)) {
quad = Number(3);
}
abs_x = Math.abs(mouse_x);
abs_y = Math.abs(mouse_y);
tg = abs_y / abs_x;
_root.maths = (Math.atan(tg) * Number(180)) / 3.141593;
if (quad == 1) {
angle = Number(90) - Number(_root.maths);
}
if (quad == 2) {
angle = Number(90) + Number(_root.maths);
}
if (quad == 3) {
angle = Number(270) - Number(_root.maths);
}
if (quad == 4) {
angle = Number(270) + Number(_root.maths);
}
if (!_root.done) {
setProperty(_this, _rotation , angle);
_root.done = true;
}
speedx = difx * friction;
speedy = dify * friction;
setProperty(this, _y , _root.object._y + speedy);
setProperty(this, _x , _root.object._x + speedx);
difx = int(targetx) - this._x;
dify = int(targety) - this._y;
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.wall7.hitTest(X, Y, true)) {
_root.gotoAndPlay("level7dead");
}
i = i + 36;
}
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.end.hitTest(X, Y, true)) {
_root.gotoAndPlay("level7win");
}
i = i + 36;
}
}
Instance of Symbol 9 MovieClip [circle] "circle" in Frame 926
onClipEvent (load) {
Mouse.hide();
startDrag (this, true);
_root.drag = this;
radius = 5;
}
onClipEvent (mouseDown) {
_root.difx = this._x - _root.object._x;
_root.object.targetx = this._x;
_root.dify = this._y - _root.object._y;
_root.object.targety = this._y;
_root.done = eval("False");
_root.clicks++;
_root.clickstext.text = "Clicks " + _root.clicks;
this.gotoAndPlay("click");
gameclick = new Sound();
gameclick.attachSound("game-click");
gameclick.start(0, 1);
}
Frame 945
stop();
Frame 946
Mouse.show();
_root.levellives--;
if (_root.levellives < 1) {
gotoAndPlay ("gameover");
}
stopAllSounds();
Frame 963
stop();
Frame 964
stopAllSounds();
Frame 986
Mouse.show();
_root.levelcompletedscore = 100;
if (_root.clicks >= (_root.levelpar + 10)) {
trace("no bonus");
_root.par = false;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = true;
} else if (_root.clicks > _root.levelpar) {
trace("overpar");
_root.par = false;
_root.overpar = true;
_root.underpar = false;
_root.nobonus = false;
} else if (_root.clicks < _root.levelpar) {
trace("underpar");
_root.par = false;
_root.overpar = false;
_root.underpar = true;
_root.nobonus = false;
} else {
trace("par");
_root.par = true;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = false;
}
if (_root.par == true) {
_root.bonusscore = 100;
_root.bonuspar = 0;
_root.bonuspartext7.text = "Par (even) :";
_root.parpointstext7.text = ("" + _root.bonusscore) + " Points";
} else if (_root.overpar == true) {
_root.bonusscore = 100 - ((_root.clicks - _root.levelpar) * 10);
_root.bonuspar = _root.clicks - _root.levelpar;
_root.bonuspartext7.text = ("Par (+" + _root.bonuspar) + ") :";
_root.parpointstext7.text = ("" + _root.bonusscore) + " Points";
} else if (_root.underpar == true) {
_root.bonusscore = 100 + ((_root.levelpar - _root.clicks) * 10);
_root.bonuspar = _root.levelpar - _root.clicks;
_root.bonuspartext7.text = ("Par (-" + _root.bonuspar) + ") :";
_root.parpointstext7.text = ("" + _root.bonusscore) + " Points";
} else if (_root.nobonus == true) {
_root.bonusscore = 0;
_root.bonuspartext7.text = "Par (10+) :";
_root.parpointstext7.text = ("" + _root.bonusscore) + " Points";
}
_root.levelscore = (_root.levelcompletedscore + _root.bonusscore) * _root.levellives;
_root.totalscore = _root.totalscore + _root.levelscore;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.levelwintext.text = ((("You have completed level " + _root.level) + " in ") + _root.clicks) + " clicks!";
_root.levelwinlivestext7.text = _root.levellives;
_root.levelwinbonusscoretext.text = ("Total Level " + _root.level) + " Points";
_root.leveltotalscore.text = (((((_root.levelcompletedscore + " + ") + _root.bonusscore) + " x ") + _root.levellives) + " = ") + _root.levelscore;
Frame 1026
stop();
Frame 1027
Mouse.show();
_root.level = 8;
_root.levelpar = 9;
_root.levellives = 3;
_root.levelcompletedscore = 0;
_root.bonusscore = 0;
_root.clicks = 0;
_root.levelscore = 0;
_root.bonuspar = 0;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.leveltext.text = "Level " + _root.level;
_root.partext.text = "Par " + _root.levelpar;
_root.levellivestext.text = "Lives " + _root.levellives;
_root.clickstext.text = "Clicks " + _root.clicks;
stopAllSounds();
Frame 1066
stop();
Frame 1067
_root.clicks = 0;
_root.clickstext.text = "Clicks " + _root.clicks;
_root.levellivestext.text = "Lives " + _root.levellives;
stopAllSounds();
Instance of Symbol 69 MovieClip "object" in Frame 1067
onClipEvent (load) {
friction = "0.1";
targetx = 65;
targety = 378;
radius = 5;
}
onClipEvent (enterFrame) {
mouse_x = int(targetx - this._x);
mouse_y = int(targety - this._y);
if ((mouse_x > 0) && (mouse_y > 0)) {
quad = Number(4);
}
if ((mouse_x < 0) && (mouse_y > 0)) {
quad = Number(1);
}
if ((mouse_x < 0) && (mouse_y < 0)) {
quad = Number(2);
}
if ((mouse_x > 0) && (mouse_y < 0)) {
quad = Number(3);
}
abs_x = Math.abs(mouse_x);
abs_y = Math.abs(mouse_y);
tg = abs_y / abs_x;
_root.maths = (Math.atan(tg) * Number(180)) / 3.141593;
if (quad == 1) {
angle = Number(90) - Number(_root.maths);
}
if (quad == 2) {
angle = Number(90) + Number(_root.maths);
}
if (quad == 3) {
angle = Number(270) - Number(_root.maths);
}
if (quad == 4) {
angle = Number(270) + Number(_root.maths);
}
if (!_root.done) {
setProperty(_this, _rotation , angle);
_root.done = true;
}
speedx = difx * friction;
speedy = dify * friction;
setProperty(this, _y , _root.object._y + speedy);
setProperty(this, _x , _root.object._x + speedx);
difx = int(targetx) - this._x;
dify = int(targety) - this._y;
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.wall8.hitTest(X, Y, true)) {
_root.gotoAndPlay("level8dead");
}
i = i + 36;
}
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.end.hitTest(X, Y, true)) {
_root.gotoAndPlay("level8win");
}
i = i + 36;
}
}
Instance of Symbol 9 MovieClip [circle] "circle" in Frame 1067
onClipEvent (load) {
Mouse.hide();
startDrag (this, true);
_root.drag = this;
radius = 5;
}
onClipEvent (mouseDown) {
_root.difx = this._x - _root.object._x;
_root.object.targetx = this._x;
_root.dify = this._y - _root.object._y;
_root.object.targety = this._y;
_root.done = eval("False");
_root.clicks++;
_root.clickstext.text = "Clicks " + _root.clicks;
this.gotoAndPlay("click");
gameclick = new Sound();
gameclick.attachSound("game-click");
gameclick.start(0, 1);
}
Frame 1086
stop();
Frame 1087
Mouse.show();
_root.levellives--;
if (_root.levellives < 1) {
gotoAndPlay ("gameover");
}
stopAllSounds();
Frame 1104
stop();
Frame 1105
stopAllSounds();
Frame 1127
Mouse.show();
_root.levelcompletedscore = 100;
if (_root.clicks >= (_root.levelpar + 10)) {
trace("no bonus");
_root.par = false;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = true;
} else if (_root.clicks > _root.levelpar) {
trace("overpar");
_root.par = false;
_root.overpar = true;
_root.underpar = false;
_root.nobonus = false;
} else if (_root.clicks < _root.levelpar) {
trace("underpar");
_root.par = false;
_root.overpar = false;
_root.underpar = true;
_root.nobonus = false;
} else {
trace("par");
_root.par = true;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = false;
}
if (_root.par == true) {
_root.bonusscore = 100;
_root.bonuspar = 0;
_root.bonuspartext8.text = "Par (even) :";
_root.parpointstext8.text = ("" + _root.bonusscore) + " Points";
} else if (_root.overpar == true) {
_root.bonusscore = 100 - ((_root.clicks - _root.levelpar) * 10);
_root.bonuspar = _root.clicks - _root.levelpar;
_root.bonuspartext8.text = ("Par (+" + _root.bonuspar) + ") :";
_root.parpointstext8.text = ("" + _root.bonusscore) + " Points";
} else if (_root.underpar == true) {
_root.bonusscore = 100 + ((_root.levelpar - _root.clicks) * 10);
_root.bonuspar = _root.levelpar - _root.clicks;
_root.bonuspartext8.text = ("Par (-" + _root.bonuspar) + ") :";
_root.parpointstext8.text = ("" + _root.bonusscore) + " Points";
} else if (_root.nobonus == true) {
_root.bonusscore = 0;
_root.bonuspartext8.text = "Par (10+) :";
_root.parpointstext8.text = ("" + _root.bonusscore) + " Points";
}
_root.levelscore = (_root.levelcompletedscore + _root.bonusscore) * _root.levellives;
_root.totalscore = _root.totalscore + _root.levelscore;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.levelwintext.text = ((("You have completed level " + _root.level) + " in ") + _root.clicks) + " clicks!";
_root.levelwinlivestext8.text = _root.levellives;
_root.levelwinbonusscoretext.text = ("Total Level " + _root.level) + " Points";
_root.leveltotalscore.text = (((((_root.levelcompletedscore + " + ") + _root.bonusscore) + " x ") + _root.levellives) + " = ") + _root.levelscore;
Frame 1167
stop();
Frame 1168
Mouse.show();
_root.level = 9;
_root.levelpar = 14;
_root.levellives = 3;
_root.levelcompletedscore = 0;
_root.bonusscore = 0;
_root.clicks = 0;
_root.levelscore = 0;
_root.bonuspar = 0;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.leveltext.text = "Level " + _root.level;
_root.partext.text = "Par " + _root.levelpar;
_root.levellivestext.text = "Lives " + _root.levellives;
_root.clickstext.text = "Clicks " + _root.clicks;
stopAllSounds();
Frame 1207
stop();
Frame 1208
_root.clicks = 0;
_root.clickstext.text = "Clicks " + _root.clicks;
_root.levellivestext.text = "Lives " + _root.levellives;
_root.wall9.gotoAndPlay("start");
stopAllSounds();
Instance of Symbol 69 MovieClip "object" in Frame 1208
onClipEvent (load) {
friction = "0.1";
targetx = 65;
targety = 378;
radius = 5;
}
onClipEvent (enterFrame) {
mouse_x = int(targetx - this._x);
mouse_y = int(targety - this._y);
if ((mouse_x > 0) && (mouse_y > 0)) {
quad = Number(4);
}
if ((mouse_x < 0) && (mouse_y > 0)) {
quad = Number(1);
}
if ((mouse_x < 0) && (mouse_y < 0)) {
quad = Number(2);
}
if ((mouse_x > 0) && (mouse_y < 0)) {
quad = Number(3);
}
abs_x = Math.abs(mouse_x);
abs_y = Math.abs(mouse_y);
tg = abs_y / abs_x;
_root.maths = (Math.atan(tg) * Number(180)) / 3.141593;
if (quad == 1) {
angle = Number(90) - Number(_root.maths);
}
if (quad == 2) {
angle = Number(90) + Number(_root.maths);
}
if (quad == 3) {
angle = Number(270) - Number(_root.maths);
}
if (quad == 4) {
angle = Number(270) + Number(_root.maths);
}
if (!_root.done) {
setProperty(_this, _rotation , angle);
_root.done = true;
}
speedx = difx * friction;
speedy = dify * friction;
setProperty(this, _y , _root.object._y + speedy);
setProperty(this, _x , _root.object._x + speedx);
difx = int(targetx) - this._x;
dify = int(targety) - this._y;
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.wall9.hitTest(X, Y, true)) {
_root.gotoAndPlay("level9dead");
}
i = i + 36;
}
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.end.hitTest(X, Y, true)) {
_root.gotoAndPlay("level9win");
}
i = i + 36;
}
}
Instance of Symbol 9 MovieClip [circle] "circle" in Frame 1208
onClipEvent (load) {
Mouse.hide();
startDrag (this, true);
_root.drag = this;
radius = 5;
}
onClipEvent (mouseDown) {
_root.difx = this._x - _root.object._x;
_root.object.targetx = this._x;
_root.dify = this._y - _root.object._y;
_root.object.targety = this._y;
_root.done = eval("False");
_root.clicks++;
_root.clickstext.text = "Clicks " + _root.clicks;
this.gotoAndPlay("click");
gameclick = new Sound();
gameclick.attachSound("game-click");
gameclick.start(0, 1);
}
Frame 1227
stop();
Frame 1228
Mouse.show();
_root.levellives--;
if (_root.levellives < 1) {
gotoAndPlay ("gameover");
}
_root.wall9.gotoAndPlay(1);
stopAllSounds();
Frame 1245
stop();
Frame 1246
stopAllSounds();
Frame 1268
Mouse.show();
_root.levelcompletedscore = 100;
if (_root.clicks >= (_root.levelpar + 10)) {
trace("no bonus");
_root.par = false;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = true;
} else if (_root.clicks > _root.levelpar) {
trace("overpar");
_root.par = false;
_root.overpar = true;
_root.underpar = false;
_root.nobonus = false;
} else if (_root.clicks < _root.levelpar) {
trace("underpar");
_root.par = false;
_root.overpar = false;
_root.underpar = true;
_root.nobonus = false;
} else {
trace("par");
_root.par = true;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = false;
}
if (_root.par == true) {
_root.bonusscore = 100;
_root.bonuspar = 0;
_root.bonuspartext9.text = "Par (even) :";
_root.parpointstext9.text = ("" + _root.bonusscore) + " Points";
} else if (_root.overpar == true) {
_root.bonusscore = 100 - ((_root.clicks - _root.levelpar) * 10);
_root.bonuspar = _root.clicks - _root.levelpar;
_root.bonuspartext9.text = ("Par (+" + _root.bonuspar) + ") :";
_root.parpointstext9.text = ("" + _root.bonusscore) + " Points";
} else if (_root.underpar == true) {
_root.bonusscore = 100 + ((_root.levelpar - _root.clicks) * 10);
_root.bonuspar = _root.levelpar - _root.clicks;
_root.bonuspartext9.text = ("Par (-" + _root.bonuspar) + ") :";
_root.parpointstext9.text = ("" + _root.bonusscore) + " Points";
} else if (_root.nobonus == true) {
_root.bonusscore = 0;
_root.bonuspartext9.text = "Par (10+) :";
_root.parpointstext9.text = ("" + _root.bonusscore) + " Points";
}
_root.levelscore = (_root.levelcompletedscore + _root.bonusscore) * _root.levellives;
_root.totalscore = _root.totalscore + _root.levelscore;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.levelwintext.text = ((("You have completed level " + _root.level) + " in ") + _root.clicks) + " clicks!";
_root.levelwinlivestext9.text = _root.levellives;
_root.levelwinbonusscoretext.text = ("Total Level " + _root.level) + " Points";
_root.leveltotalscore.text = (((((_root.levelcompletedscore + " + ") + _root.bonusscore) + " x ") + _root.levellives) + " = ") + _root.levelscore;
Frame 1308
stop();
Frame 1309
Mouse.show();
_root.level = 10;
_root.levelpar = 30;
_root.levellives = 6;
_root.levelcompletedscore = 0;
_root.bonusscore = 0;
_root.clicks = 0;
_root.levelscore = 0;
_root.bonuspar = 0;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.leveltext.text = "Level " + _root.level;
_root.partext.text = "Par " + _root.levelpar;
_root.levellivestext.text = "Lives " + _root.levellives;
_root.clickstext.text = "Clicks " + _root.clicks;
stopAllSounds();
Frame 1348
stop();
Frame 1349
_root.clicks = 0;
_root.clickstext.text = "Clicks " + _root.clicks;
_root.levellivestext.text = "Lives " + _root.levellives;
stopAllSounds();
Instance of Symbol 69 MovieClip "object" in Frame 1349
onClipEvent (load) {
friction = "0.1";
targetx = 43;
targety = 73;
radius = 5;
}
onClipEvent (enterFrame) {
mouse_x = int(targetx - this._x);
mouse_y = int(targety - this._y);
if ((mouse_x > 0) && (mouse_y > 0)) {
quad = Number(4);
}
if ((mouse_x < 0) && (mouse_y > 0)) {
quad = Number(1);
}
if ((mouse_x < 0) && (mouse_y < 0)) {
quad = Number(2);
}
if ((mouse_x > 0) && (mouse_y < 0)) {
quad = Number(3);
}
abs_x = Math.abs(mouse_x);
abs_y = Math.abs(mouse_y);
tg = abs_y / abs_x;
_root.maths = (Math.atan(tg) * Number(180)) / 3.141593;
if (quad == 1) {
angle = Number(90) - Number(_root.maths);
}
if (quad == 2) {
angle = Number(90) + Number(_root.maths);
}
if (quad == 3) {
angle = Number(270) - Number(_root.maths);
}
if (quad == 4) {
angle = Number(270) + Number(_root.maths);
}
if (!_root.done) {
setProperty(_this, _rotation , angle);
_root.done = true;
}
speedx = difx * friction;
speedy = dify * friction;
setProperty(this, _y , _root.object._y + speedy);
setProperty(this, _x , _root.object._x + speedx);
difx = int(targetx) - this._x;
dify = int(targety) - this._y;
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.wall10.hitTest(X, Y, true)) {
_root.gotoAndPlay("level10dead");
}
i = i + 36;
}
i = 0;
while (i < 360) {
X = (Math.cos(i * 0.01745329) * radius) + _x;
Y = (Math.sin(i * 0.01745329) * radius) + _y;
if (_root.end.hitTest(X, Y, true)) {
_root.gotoAndPlay("level10win");
}
i = i + 36;
}
}
Instance of Symbol 9 MovieClip [circle] "circle" in Frame 1349
onClipEvent (load) {
Mouse.hide();
startDrag (this, true);
_root.drag = this;
radius = 5;
}
onClipEvent (mouseDown) {
_root.difx = this._x - _root.object._x;
_root.object.targetx = this._x;
_root.dify = this._y - _root.object._y;
_root.object.targety = this._y;
_root.done = eval("False");
_root.clicks++;
_root.clickstext.text = "Clicks " + _root.clicks;
this.gotoAndPlay("click");
gameclick = new Sound();
gameclick.attachSound("game-click");
gameclick.start(0, 1);
}
Frame 1368
stop();
Frame 1369
Mouse.show();
_root.levellives--;
if (_root.levellives < 1) {
gotoAndPlay ("gameover");
}
stopAllSounds();
Frame 1386
stop();
Frame 1387
stopAllSounds();
Frame 1409
Mouse.show();
_root.levelcompletedscore = 100;
if (_root.clicks >= (_root.levelpar + 10)) {
trace("no bonus");
_root.par = false;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = true;
} else if (_root.clicks > _root.levelpar) {
trace("overpar");
_root.par = false;
_root.overpar = true;
_root.underpar = false;
_root.nobonus = false;
} else if (_root.clicks < _root.levelpar) {
trace("underpar");
_root.par = false;
_root.overpar = false;
_root.underpar = true;
_root.nobonus = false;
} else {
trace("par");
_root.par = true;
_root.overpar = false;
_root.underpar = false;
_root.nobonus = false;
}
if (_root.par == true) {
_root.bonusscore = 100;
_root.bonuspar = 0;
_root.bonuspartext10.text = "Par (even) :";
_root.parpointstext10.text = ("" + _root.bonusscore) + " Points";
} else if (_root.overpar == true) {
_root.bonusscore = 100 - ((_root.clicks - _root.levelpar) * 10);
_root.bonuspar = _root.clicks - _root.levelpar;
_root.bonuspartext10.text = ("Par (+" + _root.bonuspar) + ") :";
_root.parpointstext10.text = ("" + _root.bonusscore) + " Points";
} else if (_root.underpar == true) {
_root.bonusscore = 100 + ((_root.levelpar - _root.clicks) * 10);
_root.bonuspar = _root.levelpar - _root.clicks;
_root.bonuspartext10.text = ("Par (-" + _root.bonuspar) + ") :";
_root.parpointstext10.text = ("" + _root.bonusscore) + " Points";
} else if (_root.nobonus == true) {
_root.bonusscore = 0;
_root.bonuspartext10.text = "Par (10+) :";
_root.parpointstext10.text = ("" + _root.bonusscore) + " Points";
}
_root.levelscore = (_root.levelcompletedscore + _root.bonusscore) * _root.levellives;
_root.totalscore = _root.totalscore + _root.levelscore;
_root.totalscoretext.text = "Score " + _root.totalscore;
_root.levelwintext.text = ((("You have completed level " + _root.level) + " in ") + _root.clicks) + " clicks!";
_root.levelwinlivestext10.text = _root.levellives;
_root.levelwinbonusscoretext.text = ("Total Level " + _root.level) + " Points";
_root.leveltotalscore.text = (((((_root.levelcompletedscore + " + ") + _root.bonusscore) + " x ") + _root.levellives) + " = ") + _root.levelscore;
Frame 1449
stop();
Frame 1450
_root.finalfinalscore.text = _root.totalscore;
stopAllSounds();
Frame 1472
stop();
Frame 1473
_root.finalfinalscore.text = _root.totalscore;
stopAllSounds();
Frame 1492
stop();
Frame 1493
stop();
Symbol 4 MovieClip [contact] Frame 11
this.removeMovieClip();
stop();
Symbol 9 MovieClip [circle] Frame 1
stop();
Symbol 20 Button
on (release) {
getURL ("http://www.happyfatandchinese.com", "_blank");
}
Symbol 40 Button
on (release) {
gotoAndPlay ("level1");
}
Symbol 42 Button
on (release) {
gotoAndPlay ("instructions");
}
Symbol 49 Button
on (release) {
gotoAndPlay ("instructions");
}
Symbol 50 Button
on (release) {
getURL ("http://happyfatandchinese.com/media/clickmaze.html", "_blank");
}
Symbol 56 Button
on (release) {
_root.gotoAndPlay("Introduction2");
}
Symbol 77 Button
on (release) {
_root.gotoAndPlay("Introduction3");
}
Symbol 82 Button
on (release) {
_root.gotoAndPlay("Introduction");
}
Symbol 88 Button
on (release) {
_root.gotoAndPlay("Introduction4");
}
Symbol 90 Button
on (release) {
_root.gotoAndPlay("Introduction2");
}
Symbol 92 Button
on (release) {
_root.gotoAndPlay("Introduction5");
}
Symbol 94 Button
on (release) {
_root.gotoAndPlay("Introduction3");
}
Symbol 99 Button
on (release) {
gotoAndPlay ("level1");
}
Symbol 100 Button
on (release) {
_root.gotoAndPlay("Introduction4");
}
Symbol 119 Button
on (release) {
gotoAndPlay ("Level1start");
}
Symbol 144 Button
on (release) {
gotoAndPlay ("Level2");
}
Symbol 157 Button
on (release) {
gotoAndPlay ("Level2start");
}
Symbol 165 Button
on (release) {
gotoAndPlay ("Level3");
}
Symbol 177 Button
on (release) {
gotoAndPlay ("Level3start");
}
Symbol 185 Button
on (release) {
gotoAndPlay ("Level4");
}
Symbol 197 Button
on (release) {
gotoAndPlay ("Level4start");
}
Symbol 205 Button
on (release) {
gotoAndPlay ("Level5");
}
Instance of Symbol 207 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 2.8;
if (this._x > 500) {
this._x = -25;
}
}
Instance of Symbol 207 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 2.2;
if (this._x > 500) {
this._x = -25;
}
}
Instance of Symbol 207 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 2.5;
if (this._x > 500) {
this._x = -25;
}
}
Instance of Symbol 207 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 2;
if (this._x > 500) {
this._x = -25;
}
}
Instance of Symbol 207 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 2;
if (this._x < -25) {
this._x = 500;
}
}
Instance of Symbol 207 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 2.5;
if (this._y < -25) {
this._y = 400;
}
}
Instance of Symbol 207 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y > 400) {
this._y = -25;
}
}
Instance of Symbol 207 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 2.5;
if (this._y > 400) {
this._y = -25;
}
}
Instance of Symbol 207 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 2.2;
if (this._y < -25) {
this._y = 400;
}
}
Instance of Symbol 207 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 2;
if (this._y < -25) {
this._y = 400;
}
}
Symbol 216 Button
on (release) {
gotoAndPlay ("Level5start");
}
Symbol 224 Button
on (release) {
gotoAndPlay ("Level6");
}
Symbol 230 MovieClip Frame 1
stop();
Instance of Symbol 227 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 1;
if (this._x > 120) {
this._x = -120;
}
}
Instance of Symbol 227 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 1.2;
if (this._x < -120) {
this._x = 120;
}
}
Instance of Symbol 227 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 1.4;
if (this._x > 120) {
this._x = -120;
}
}
Instance of Symbol 227 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 1.6;
if (this._x < -120) {
this._x = 120;
}
}
Instance of Symbol 227 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 1.8;
if (this._x > 120) {
this._x = -120;
}
}
Instance of Symbol 227 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 2.2;
if (this._x > 120) {
this._x = -120;
}
}
Instance of Symbol 227 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 2;
if (this._x < -120) {
this._x = 120;
}
}
Instance of Symbol 229 MovieClip in Symbol 230 MovieClip Frame 2
onClipEvent (enterFrame) {
this._y = this._y - 0.13;
}
Symbol 238 Button
on (release) {
gotoAndPlay ("Level6start");
}
Symbol 246 Button
on (release) {
gotoAndPlay ("Level7");
}
Instance of Symbol 148 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 2;
if (this._x < -400) {
this._x = 500;
}
}
Instance of Symbol 148 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 2;
if (this._x < -400) {
this._x = 500;
}
}
Instance of Symbol 148 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 2;
if (this._x < -400) {
this._x = 500;
}
}
Instance of Symbol 148 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y > 400) {
this._y = -500;
}
}
Instance of Symbol 148 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y > 400) {
this._y = -500;
}
}
Instance of Symbol 148 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y > 400) {
this._y = -500;
}
}
Symbol 256 Button
on (release) {
gotoAndPlay ("Level7start");
}
Symbol 264 Button
on (release) {
gotoAndPlay ("Level8");
}
Instance of Symbol 148 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 2;
if (this._x < 350) {
this._x = 472;
}
}
Instance of Symbol 148 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 2;
if (this._x > 492) {
this._x = 370;
}
}
Instance of Symbol 267 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 2;
if (this._x > -36) {
this._x = -186;
}
}
Instance of Symbol 267 MovieClip in Symbol 269 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 2;
if (this._x < -190) {
this._x = -35;
}
}
Symbol 277 Button
on (release) {
gotoAndPlay ("Level8start");
}
Symbol 285 Button
on (release) {
gotoAndPlay ("Level9");
}
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 5000
stop();
Symbol 298 Button
on (release) {
gotoAndPlay ("Level9start");
}
Symbol 306 Button
on (release) {
gotoAndPlay ("Level10");
}
Instance of Symbol 148 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y > 82) {
this._y = -20;
}
}
Instance of Symbol 148 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y > 82) {
this._y = -20;
}
}
Instance of Symbol 148 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 2;
if (this._y < -19) {
this._y = 83;
}
}
Instance of Symbol 148 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 2;
if (this._y < -19) {
this._y = 83;
}
}
Instance of Symbol 309 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 0.5;
}
Instance of Symbol 316 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y > 400) {
this._y = 305;
}
}
Instance of Symbol 316 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 1.8;
if (this._y < 305) {
this._y = 400;
}
}
Instance of Symbol 316 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 1.6;
if (this._y > 400) {
this._y = 305;
}
}
Instance of Symbol 316 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 1.4;
if (this._y < 305) {
this._y = 400;
}
}
Instance of Symbol 316 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 1.2;
if (this._y > 400) {
this._y = 305;
}
}
Instance of Symbol 316 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 1;
if (this._y < 305) {
this._y = 400;
}
}
Instance of Symbol 316 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 1;
if (this._y > 400) {
this._y = 305;
}
}
Instance of Symbol 316 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 1.2;
if (this._y < 305) {
this._y = 400;
}
}
Instance of Symbol 316 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 1.4;
if (this._y > 400) {
this._y = 305;
}
}
Instance of Symbol 316 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 1.6;
if (this._y < 305) {
this._y = 400;
}
}
Instance of Symbol 316 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 1.8;
if (this._y > 400) {
this._y = 305;
}
}
Instance of Symbol 316 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y - 2;
if (this._y < 305) {
this._y = 400;
}
}
Instance of Symbol 318 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1.5;
}
Instance of Symbol 320 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 1;
}
Instance of Symbol 322 MovieClip in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 0.5;
}
Symbol 331 Button
on (release) {
gotoAndPlay ("Level10start");
}
Symbol 340 Button
on (release) {
gotoAndPlay ("gamewon");
}
Symbol 347 Button
on (release) {
gotoAndPlay ("highscore");
}
Symbol 349 Button
on (release) {
gotoAndPlay ("level1");
}
Symbol 351 Button
on (release) {
gotoAndPlay (15);
}
Symbol 362 Button
on (release) {
getURL ("http://happyfatandchineseforum.com/highscores/clickmaze2/", "_blank");
}