Instance of Symbol 62 MovieClip "pre" in Frame 1
onClipEvent (enterFrame) {
_root.pre.gotoAndStop(_root.per);
}
Instance of Symbol 103 MovieClip "sheepsnd" in Frame 1
onClipEvent (enterFrame) {
if (random(100) == 1) {
_root.dogsnd.gotoAndPlay(2);
}
if (random(100) == 9) {
_root.sheepsnd.gotoAndPlay(2);
}
}
Frame 2
function enterSheep() {
_root.bomb.gotoAndPlay(2);
var i = 1;
while (i <= 15) {
_root.sheep0.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(313) + 112;
_root["sheep" + i]._y = random(136) + 288;
_root["checksheep" + i] = false;
i++;
}
var i = 16;
while (i <= 20) {
_root.sheep1.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(180) + 436;
_root["sheep" + i]._y = random(68) + 314;
_root["checksheep" + i] = false;
i++;
}
}
function enterSheep2() {
_root.bomb.gotoAndPlay(2);
var i = 1;
while (i <= 4) {
_root.sh1.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(53) + 157;
_root["sheep" + i]._y = random(131) + 187;
_root["checksheep" + i] = false;
i++;
}
var i = 5;
while (i <= 8) {
_root.sh2.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(124) + 226;
_root["sheep" + i]._y = random(69) + 161;
_root["checksheep" + i] = false;
i++;
}
var i = 9;
while (i <= 12) {
_root.sh3.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(167) + 448;
_root["sheep" + i]._y = random(175) + 65;
_root["checksheep" + i] = false;
i++;
}
var i = 13;
while (i <= 16) {
_root.sh4.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(220) + 397;
_root["sheep" + i]._y = random(128) + 245;
_root["checksheep" + i] = false;
i++;
}
var i = 17;
while (i <= 20) {
_root.sh5.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(230) + 311;
_root["sheep" + i]._y = random(79) + 384;
_root["checksheep" + i] = false;
i++;
}
}
function enterSheep3() {
_root.bomb.gotoAndPlay(2);
var i = 1;
while (i <= 2) {
_root.sh1.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(88) + 15;
_root["sheep" + i]._y = random(44) + 242;
_root["checksheep" + i] = false;
i++;
}
var i = 3;
while (i <= 4) {
_root.sh2.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(84) + 17;
_root["sheep" + i]._y = random(78) + 302;
_root["checksheep" + i] = false;
i++;
}
var i = 5;
while (i <= 6) {
_root.sh3.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(74) + 116;
_root["sheep" + i]._y = random(76) + 288;
_root["checksheep" + i] = false;
i++;
}
var i = 7;
while (i <= 8) {
_root.sh4.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(131) + 391;
_root["sheep" + i]._y = random(69) + 383;
_root["checksheep" + i] = false;
i++;
}
var i = 9;
while (i <= 10) {
_root.sh5.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(54) + 461;
_root["sheep" + i]._y = random(53) + 315;
_root["checksheep" + i] = false;
i++;
}
var i = 11;
while (i <= 20) {
_root["sheep" + i].removeMovieClip();
i++;
}
}
function enterSheep1() {
_root.bomb.gotoAndPlay(2);
var i = 1;
while (i <= 3) {
_root.sh1.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(121) + 16;
_root["sheep" + i]._y = random(70) + 170;
_root["checksheep" + i] = false;
i++;
}
var i = 4;
while (i <= 6) {
_root.sh2.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(92) + 17;
_root["sheep" + i]._y = random(112) + 253;
_root["checksheep" + i] = false;
i++;
}
var i = 7;
while (i <= 9) {
_root.sh3.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(137) + 126;
_root["sheep" + i]._y = random(77) + 280;
_root["checksheep" + i] = false;
i++;
}
var i = 10;
while (i <= 12) {
_root.sh4.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(120) + 23;
_root["sheep" + i]._y = random(82) + 385;
_root["checksheep" + i] = false;
i++;
}
var i = 13;
while (i <= 15) {
_root.sh5.duplicateMovieClip("sheep" + i, i);
_root["sheep" + i]._x = random(132) + 161;
_root["sheep" + i]._y = random(73) + 377;
_root["checksheep" + i] = false;
i++;
}
}
stop();
isGame = false;
count = 1;
_root.caught = "";
selchar = 0;
var i = 1;
while (i <= 20) {
_root["scnt" + i] = 0;
i++;
}
per = 0;
totalcnt = 0;
tempcnt = false;
rightcnt1 = 0;
rightcnt2 = 0;
rightcnt3 = 0;
rightcnt4 = 0;
wrongcnt = 0;
MovieClip.prototype.rotateTo = function (targetX, targetY) {
if (this._x > targetX) {
this._xscale = 100;
} else {
this._xscale = -100;
}
};
MovieClip.prototype.smoothMove = function (speed, targetX, targetY) {
this._x = this._x + (speed * (targetX - this._x));
this._y = this._y + (speed * (targetY - this._y));
};
Frame 3
stop();
Frame 13
stop();
_root.count = 1;
_root.wrongcnt = 0;
Instance of Symbol 358 MovieClip "s2" in Frame 13
onClipEvent (load) {
_root.s1._visible = false;
_root.s2._visible = false;
_root.s5.a1._visible = false;
_root.s5.a2._visible = false;
_root.home.in1._visible = false;
_root.home.in2._visible = false;
_root.home.in3._visible = false;
_root.home.in4._visible = false;
_root.home.in5._visible = false;
_root.home.in6._visible = false;
_root.home.in7._visible = false;
_root.home.in8._visible = false;
_root.home.in9._visible = false;
_root.home.out1._visible = false;
_root.home.out2._visible = false;
_root.home.out3._visible = false;
_root.home.out4._visible = false;
_root.home.right._visible = false;
}
Instance of Symbol 408 MovieClip "sheep" in Frame 13
onClipEvent (load) {
K = 100000 /* 0x0186A0 */;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.home.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out2.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out3.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y - 10;
} else if (_root.home.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.home.in1.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in2.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y - 5;
} else if (_root.home.in3.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
this._y = this._y - 5;
} else if (_root.home.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y + 5;
} else if (_root.home.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in8.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.home.in9.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.s1.hitTest(this._x, this._y) == true) {
this._x = this._x - 10;
} else if (_root.s2.hitTest(this._x, this._y) == true) {
this._y = this._y - 10;
} else if (_root.s3.hitTest(this._x, this._y) == true) {
this._y = this._y - 10;
} else if (_root.s4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y - 10;
} else if (_root.s5.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else {
var diffx = ((this._x - _root.ball._x) + 43);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.2, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Instance of Symbol 409 MovieClip "ball1" in Frame 13
/* no clip actions */
Instance of Symbol 408 MovieClip "sheep0" in Frame 13
onClipEvent (load) {
K = 120000 /* 0x01D4C0 */;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.home.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out2.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out3.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y - 10;
} else if (_root.home.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.home.in1.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in2.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y - 5;
} else if (_root.home.in3.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
this._y = this._y - 5;
} else if (_root.home.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y + 5;
} else if (_root.home.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in8.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.home.in9.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.s1.hitTest(this._x, this._y) == true) {
this._x = this._x - 10;
} else if (_root.s2.hitTest(this._x, this._y) == true) {
this._y = this._y - 10;
} else if (_root.s3.hitTest(this._x, this._y) == true) {
this._y = this._y - 10;
} else if (_root.s4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y - 10;
} else if (_root.s5.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.2, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Instance of Symbol 420 MovieClip "ball" in Frame 13
onClipEvent (enterFrame) {
if (_root.isGame == true) {
if (_root.selchar == 1) {
this.gotoAndStop(1);
Mouse.hide();
this._x = _root._xmouse;
if (this._x > oldx) {
this._xscale = -100;
prev = -100;
this.roowoo.gotoAndStop("move");
} else if (this._x < oldx) {
this._xscale = 100;
prev = 100;
this.roowoo.gotoAndStop("move");
} else if (this._x == oldx) {
this._xscale = prev;
this.roowoo.gotoAndStop(1);
}
oldx = this._x;
this._y = _root._ymouse;
} else if (_root.selchar == 2) {
this.gotoAndStop(2);
Mouse.hide();
this._x = _root._xmouse;
if (this._x > oldx) {
this._xscale = -100;
prev = -100;
this.bolty.gotoAndStop("move");
} else if (this._x < oldx) {
this._xscale = 100;
prev = 100;
this.bolty.gotoAndStop("move");
} else if (this._x == oldx) {
this._xscale = prev;
this.bolty.gotoAndStop(1);
}
oldx = this._x;
this._y = _root._ymouse;
}
} else {
Mouse.show();
this._x = startx;
this._y = starty;
}
}
Frame 23
stop();
_root.count = 3;
_root.wrongcnt = 0;
Instance of Symbol 479 MovieClip "line1" in Frame 23
onClipEvent (load) {
var i = 1;
while (i <= 9) {
_root["line" + i]._visible = false;
_root["out" + i]._visible = false;
i++;
}
var i = 1;
while (i <= 8) {
_root["in" + i]._visible = false;
i++;
}
_root.right._visible = false;
}
Instance of Symbol 484 MovieClip "right" in Frame 23
onClipEvent (enterFrame) {
var i = 1;
while (i <= 20) {
if (this.hitTest(_root["sheep" + i]._x, _root["sheep" + i]._y, true)) {
_root["scnt" + i] = 1;
} else {
_root["scnt" + i] = 0;
}
i++;
}
_root.totalcnt = ((((((((((((((((((_root.scnt1 + _root.scnt2) + _root.scnt3) + _root.scnt4) + _root.scnt5) + _root.scnt6) + _root.scnt7) + _root.scnt8) + _root.scnt9) + _root.scnt10) + _root.scnt11) + _root.scnt12) + _root.scnt13) + _root.scnt14) + _root.scnt15) + _root.scnt16) + _root.scnt17) + _root.scnt18) + _root.scnt19) + _root.scnt20;
if (_root.totalcnt > tempcnt) {
_root.entersnd.gotoAndPlay(2);
}
tempcnt = _root.totalcnt;
_root.caught = _root.totalcnt;
}
Instance of Symbol 534 MovieClip "sh1" in Frame 23
onClipEvent (load) {
K = 100000 /* 0x0186A0 */;
this.gotoAndStop(1);
prev = 0;
pres = 0;
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.out2.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.out3.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.in1.hitTest(this._x, this._y, true)) {
this._y = this._y - 5;
} else if (_root.in2.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.in3.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.in8.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.in9.hitTest(this._x, this._y) == true) {
this._x = this._x - 5;
} else if (_root.in10.hitTest(this._x, this._y) == true) {
this._y = this._y + 5;
} else if (_root.line1.hitTest(this._x, this._y) == true) {
this._y = this._y + 10;
} else if (_root.line2.hitTest(this._x, this._y) == true) {
this._y = this._y + 10;
} else if (_root.line3.hitTest(this._x, this._y) == true) {
this._x = this._x - 10;
} else if (_root.line4.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line5.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line6.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line7.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line8.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line9.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.r1.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
pres = _root._xmouse;
if (this._x < _root._xmouse) {
this._x = this._x - 1;
prev = _root._xmouse;
} else if (this._x > _root._xmouse) {
this._x = this._x + 1;
prev = _root._xmouse;
} else if (pres == prev) {
this._y = this._y + 1;
}
} else if (_root.r2.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
pres = _root._xmouse;
if (this._x < _root._xmouse) {
this._x = this._x - 1;
prev = _root._xmouse;
} else if (this._x > _root._xmouse) {
this._x = this._x + 1;
prev = _root._xmouse;
} else if (pres == prev) {
this._y = this._y + 1;
}
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.2, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
if (_root.r1.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this._y = this._y + 1;
} else if (_root.r2.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this._y = this._y + 1;
}
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Instance of Symbol 537 MovieClip "sh2" in Frame 23
onClipEvent (load) {
K = 100000 /* 0x0186A0 */;
this.gotoAndStop(1);
prev = 0;
pres = 0;
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.out2.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.out3.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.in1.hitTest(this._x, this._y, true)) {
this._y = this._y - 5;
} else if (_root.in2.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.in3.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.in8.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.in9.hitTest(this._x, this._y) == true) {
this._x = this._x - 5;
} else if (_root.in10.hitTest(this._x, this._y) == true) {
this._y = this._y + 5;
} else if (_root.line1.hitTest(this._x, this._y) == true) {
this._y = this._y + 10;
} else if (_root.line2.hitTest(this._x, this._y) == true) {
this._y = this._y + 10;
} else if (_root.line3.hitTest(this._x, this._y) == true) {
this._x = this._x - 10;
} else if (_root.line4.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line5.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line6.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line7.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line8.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line9.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.r1.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
pres = _root._xmouse;
if (this._x < _root._xmouse) {
this._x = this._x - 1;
prev = _root._xmouse;
} else if (this._x > _root._xmouse) {
this._x = this._x + 1;
prev = _root._xmouse;
} else if (pres == prev) {
this._y = this._y + 1;
}
} else if (_root.r2.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
pres = _root._xmouse;
if (this._x < _root._xmouse) {
this._x = this._x - 1;
prev = _root._xmouse;
} else if (this._x > _root._xmouse) {
this._x = this._x + 1;
prev = _root._xmouse;
} else if (pres == prev) {
this._y = this._y + 1;
}
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.2, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
if (_root.r1.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this._y = this._y + 1;
} else if (_root.r2.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this._y = this._y + 1;
}
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Instance of Symbol 543 MovieClip "sh3" in Frame 23
onClipEvent (load) {
K = 170000 /* 0x029810 */;
this.gotoAndStop(1);
prev = 0;
pres = 0;
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.out2.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.out3.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.in1.hitTest(this._x, this._y, true)) {
this._y = this._y - 5;
} else if (_root.in2.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.in3.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.in8.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.in9.hitTest(this._x, this._y) == true) {
this._x = this._x - 5;
} else if (_root.in10.hitTest(this._x, this._y) == true) {
this._y = this._y + 5;
} else if (_root.line1.hitTest(this._x, this._y) == true) {
this._y = this._y + 10;
} else if (_root.line2.hitTest(this._x, this._y) == true) {
this._y = this._y + 10;
} else if (_root.line3.hitTest(this._x, this._y) == true) {
this._x = this._x - 10;
} else if (_root.line4.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line5.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line6.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line7.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line8.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line9.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.r1.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
pres = _root._xmouse;
if (this._x < _root._xmouse) {
this._x = this._x - 1;
prev = _root._xmouse;
} else if (this._x > _root._xmouse) {
this._x = this._x + 1;
prev = _root._xmouse;
} else if (pres == prev) {
this._y = this._y + 1;
}
} else if (_root.r2.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
pres = _root._xmouse;
if (this._x < _root._xmouse) {
this._x = this._x - 1;
prev = _root._xmouse;
} else if (this._x > _root._xmouse) {
this._x = this._x + 1;
prev = _root._xmouse;
} else if (pres == prev) {
this._y = this._y + 1;
}
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.2, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
if (_root.r1.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this._y = this._y + 1;
} else if (_root.r2.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this._y = this._y + 1;
}
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Instance of Symbol 549 MovieClip "sh4" in Frame 23
onClipEvent (load) {
K = 80000 /* 0x013880 */;
this.gotoAndStop(1);
prev = 0;
pres = 0;
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.out2.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.out3.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.in1.hitTest(this._x, this._y, true)) {
this._y = this._y - 5;
} else if (_root.in2.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.in3.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.in8.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.in9.hitTest(this._x, this._y) == true) {
this._x = this._x - 5;
} else if (_root.in10.hitTest(this._x, this._y) == true) {
this._y = this._y + 5;
} else if (_root.line1.hitTest(this._x, this._y) == true) {
this._y = this._y + 10;
} else if (_root.line2.hitTest(this._x, this._y) == true) {
this._y = this._y + 10;
} else if (_root.line3.hitTest(this._x, this._y) == true) {
this._x = this._x - 10;
} else if (_root.line4.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line5.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line6.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line7.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line8.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line9.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.r1.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
pres = _root._xmouse;
if (this._x < _root._xmouse) {
this._x = this._x - 1;
prev = _root._xmouse;
} else if (this._x > _root._xmouse) {
this._x = this._x + 1;
prev = _root._xmouse;
} else if (pres == prev) {
this._y = this._y + 1;
}
} else if (_root.r2.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
pres = _root._xmouse;
if (this._x < _root._xmouse) {
this._x = this._x - 1;
prev = _root._xmouse;
} else if (this._x > _root._xmouse) {
this._x = this._x + 1;
prev = _root._xmouse;
} else if (pres == prev) {
this._y = this._y + 1;
}
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.2, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
if (_root.r1.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this._y = this._y + 1;
} else if (_root.r2.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this._y = this._y + 1;
}
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Instance of Symbol 555 MovieClip "sh5" in Frame 23
onClipEvent (load) {
K = 200000 /* 0x030D40 */;
this.gotoAndStop(1);
prev = 0;
pres = 0;
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.out2.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.out3.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.in1.hitTest(this._x, this._y, true)) {
this._y = this._y - 5;
} else if (_root.in2.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.in3.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.in8.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.in9.hitTest(this._x, this._y) == true) {
this._x = this._x - 5;
} else if (_root.in10.hitTest(this._x, this._y) == true) {
this._y = this._y + 5;
} else if (_root.line1.hitTest(this._x, this._y) == true) {
this._y = this._y + 10;
} else if (_root.line2.hitTest(this._x, this._y) == true) {
this._y = this._y + 10;
} else if (_root.line3.hitTest(this._x, this._y) == true) {
this._x = this._x - 10;
} else if (_root.line4.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line5.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line6.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line7.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line8.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line9.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.r1.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
pres = _root._xmouse;
if (this._x < _root._xmouse) {
this._x = this._x - 1;
prev = _root._xmouse;
} else if (this._x > _root._xmouse) {
this._x = this._x + 1;
prev = _root._xmouse;
} else if (pres == prev) {
this._y = this._y + 1;
}
} else if (_root.r2.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
pres = _root._xmouse;
if (this._x < _root._xmouse) {
this._x = this._x - 1;
prev = _root._xmouse;
} else if (this._x > _root._xmouse) {
this._x = this._x + 1;
prev = _root._xmouse;
} else if (pres == prev) {
this._y = this._y + 1;
}
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.2, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
if (_root.r1.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this._y = this._y + 1;
} else if (_root.r2.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this._y = this._y + 1;
}
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Instance of Symbol 420 MovieClip "ball" in Frame 23
onClipEvent (enterFrame) {
if (_root.isGame == true) {
if (_root.selchar == 1) {
this.gotoAndStop(1);
Mouse.hide();
this._x = _root._xmouse;
if (this._x > oldx) {
this._xscale = -100;
prev = -100;
this.roowoo.gotoAndStop("move");
} else if (this._x < oldx) {
this._xscale = 100;
prev = 100;
this.roowoo.gotoAndStop("move");
} else if (this._x == oldx) {
this._xscale = prev;
this.roowoo.gotoAndStop(1);
}
oldx = this._x;
this._y = _root._ymouse;
} else {
this.gotoAndStop(2);
Mouse.hide();
this._x = _root._xmouse;
if (this._x > oldx) {
this._xscale = -100;
prev = -100;
this.bolty.gotoAndStop("move");
} else if (this._x < oldx) {
this._xscale = 100;
prev = 100;
this.bolty.gotoAndStop("move");
} else if (this._x == oldx) {
this._xscale = prev;
this.bolty.gotoAndStop(1);
}
oldx = this._x;
this._y = _root._ymouse;
}
} else {
Mouse.show();
this._x = startx;
this._y = starty;
}
}
Frame 33
stop();
_root.count = 4;
_root.wrongcnt = 0;
Instance of Symbol 569 MovieClip "line1" in Frame 33
onClipEvent (load) {
var i = 1;
while (i <= 7) {
_root["cliff" + i]._visible = false;
_root["t" + i]._visible = false;
i++;
}
var i = 1;
while (i <= 5) {
_root["line" + i]._visible = false;
_root.home["out" + i]._visible = false;
i++;
}
var i = 1;
while (i <= 9) {
_root.home["in" + i]._visible = false;
i++;
}
}
Instance of Symbol 591 MovieClip "sh1" in Frame 33
onClipEvent (load) {
K = 100000 /* 0x0186A0 */;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.home.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out2.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out3.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y - 10;
} else if (_root.home.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.home.in1.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in2.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y - 5;
} else if (_root.home.in3.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
this._y = this._y - 5;
} else if (_root.home.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y + 5;
} else if (_root.home.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in8.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.home.in9.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.line1.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.line2.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line3.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line4.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line5.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
} else if (_root.cliff1.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t1._x, _root.t1._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff2.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t2._x, _root.t2._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff3.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t3._x, _root.t3._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff4.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t4._x, _root.t4._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff5.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t5._x, _root.t5._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff6.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t6._x, _root.t6._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff7.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t7._x, _root.t7._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.2, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
if (_root.cliff1.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff2.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff3.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff4.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff5.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff6.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff7.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
}
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Instance of Symbol 593 MovieClip "sh2" in Frame 33
onClipEvent (load) {
K = 100000 /* 0x0186A0 */;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.home.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out2.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out3.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y - 10;
} else if (_root.home.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.home.in1.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in2.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y - 5;
} else if (_root.home.in3.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
this._y = this._y - 5;
} else if (_root.home.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y + 5;
} else if (_root.home.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in8.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.home.in9.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.line1.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.line2.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line3.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line4.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line5.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
} else if (_root.cliff1.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t1._x, _root.t1._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff2.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t2._x, _root.t2._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff3.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t3._x, _root.t3._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff4.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t4._x, _root.t4._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff5.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t5._x, _root.t5._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff6.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t6._x, _root.t6._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff7.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t7._x, _root.t7._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.2, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
if (_root.cliff1.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff2.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff3.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff4.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff5.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff6.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff7.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
}
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Instance of Symbol 595 MovieClip "sh3" in Frame 33
onClipEvent (load) {
K = 100000 /* 0x0186A0 */;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.home.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out2.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out3.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y - 10;
} else if (_root.home.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.home.in1.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in2.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y - 5;
} else if (_root.home.in3.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
this._y = this._y - 5;
} else if (_root.home.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y + 5;
} else if (_root.home.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in8.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.home.in9.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.line1.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.line2.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line3.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line4.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line5.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
} else if (_root.cliff1.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t1._x, _root.t1._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff2.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t2._x, _root.t2._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff3.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t3._x, _root.t3._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff4.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t4._x, _root.t4._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff5.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t5._x, _root.t5._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff6.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t6._x, _root.t6._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff7.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t7._x, _root.t7._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.2, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
if (_root.cliff1.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff2.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff3.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff4.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff5.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff6.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff7.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
}
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Instance of Symbol 597 MovieClip "sh4" in Frame 33
onClipEvent (load) {
K = 100000 /* 0x0186A0 */;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.home.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out2.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out3.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y - 10;
} else if (_root.home.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.home.in1.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in2.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y - 5;
} else if (_root.home.in3.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
this._y = this._y - 5;
} else if (_root.home.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y + 5;
} else if (_root.home.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in8.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.home.in9.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.line1.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.line2.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line3.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line4.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line5.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
} else if (_root.cliff1.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t1._x, _root.t1._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff2.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t2._x, _root.t2._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff3.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t3._x, _root.t3._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff4.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t4._x, _root.t4._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff5.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t5._x, _root.t5._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff6.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t6._x, _root.t6._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff7.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t7._x, _root.t7._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.2, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
if (_root.cliff1.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff2.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff3.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff4.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff5.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff6.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff7.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
}
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Instance of Symbol 599 MovieClip "sh5" in Frame 33
onClipEvent (load) {
K = 100000 /* 0x0186A0 */;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.home.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out2.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out3.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y - 10;
} else if (_root.home.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.home.in1.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in2.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y - 5;
} else if (_root.home.in3.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
this._y = this._y - 5;
} else if (_root.home.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y + 5;
} else if (_root.home.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in8.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.home.in9.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.line1.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.line2.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line3.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line4.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line5.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
} else if (_root.cliff1.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t1._x, _root.t1._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff2.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t2._x, _root.t2._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff3.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t3._x, _root.t3._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff4.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t4._x, _root.t4._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff5.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t5._x, _root.t5._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff6.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t6._x, _root.t6._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else if (_root.cliff7.hitTest(this._x, this._y, true)) {
this.smoothMove(0.2, _root.t7._x, _root.t7._y);
if (this._xscale == 100) {
this._xscale = this._xscale - 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
} else if (this._xscale == -100) {
this._xscale = this._xscale + 25;
this._yscale = this._yscale - 25;
this._alpha = this._alpha - 25;
}
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.2, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
if (_root.cliff1.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff2.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff3.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff4.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff5.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff6.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
} else if (_root.cliff7.hitTest(this._x, this._y, true)) {
this.gotoAndStop(3);
this.removeMovieClip();
}
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Frame 42
stop();
_root.count = 2;
_root.wrongcnt = 0;
Instance of Symbol 627 MovieClip "line1" in Frame 42
onClipEvent (load) {
var i = 1;
while (i <= 5) {
_root["line" + i]._visible = false;
_root.home["out" + i]._visible = false;
i++;
}
var i = 1;
while (i <= 9) {
_root.home["in" + i]._visible = false;
i++;
}
_root.ice1._visible = false;
_root.ice2._visible = false;
}
Instance of Symbol 642 MovieClip "sh1" in Frame 42
onClipEvent (load) {
K = 100000 /* 0x0186A0 */;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.home.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out2.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out3.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y - 10;
} else if (_root.home.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.home.in1.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in2.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y - 5;
} else if (_root.home.in3.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
this._y = this._y - 5;
} else if (_root.home.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y + 5;
} else if (_root.home.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in8.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.home.in9.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.line1.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.line2.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line3.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line4.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
} else if (_root.line5.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.ice1.hitTest(this._x, this._y, true)) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 6000)) * diffx;
Fy = (K / (((r * r) * r) + 6000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.3, this._x + Fx, this._y + (Fx / 2));
} else if (_root.ice2.hitTest(this._x, this._y, true)) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 6000)) * diffx;
Fy = (K / (((r * r) * r) + 6000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.3, this._x + Fx, this._y + (Fx / 2));
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.3, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Instance of Symbol 644 MovieClip "sh2" in Frame 42
onClipEvent (load) {
K = 100000 /* 0x0186A0 */;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.home.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out2.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out3.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y - 10;
} else if (_root.home.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.home.in1.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in2.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y - 5;
} else if (_root.home.in3.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
this._y = this._y - 5;
} else if (_root.home.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y + 5;
} else if (_root.home.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in8.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.home.in9.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.line1.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.line2.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line3.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line4.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
} else if (_root.line5.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.ice1.hitTest(this._x, this._y, true)) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 6000)) * diffx;
Fy = (K / (((r * r) * r) + 6000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.3, this._x + Fx, this._y + (Fx / 2));
} else if (_root.ice2.hitTest(this._x, this._y, true)) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 6000)) * diffx;
Fy = (K / (((r * r) * r) + 6000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.3, this._x + Fx, this._y + (Fx / 2));
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.3, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Instance of Symbol 646 MovieClip "sh3" in Frame 42
onClipEvent (load) {
K = 100000 /* 0x0186A0 */;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.home.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out2.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out3.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y - 10;
} else if (_root.home.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.home.in1.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in2.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y - 5;
} else if (_root.home.in3.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
this._y = this._y - 5;
} else if (_root.home.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y + 5;
} else if (_root.home.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in8.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.home.in9.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.line1.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.line2.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line3.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line4.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
} else if (_root.line5.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.ice1.hitTest(this._x, this._y, true)) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 6000)) * diffx;
Fy = (K / (((r * r) * r) + 6000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.3, this._x + Fx, this._y + (Fx / 2));
} else if (_root.ice2.hitTest(this._x, this._y, true)) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 6000)) * diffx;
Fy = (K / (((r * r) * r) + 6000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.3, this._x + Fx, this._y + (Fx / 2));
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.3, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Instance of Symbol 648 MovieClip "sh4" in Frame 42
onClipEvent (load) {
K = 100000 /* 0x0186A0 */;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.home.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out2.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out3.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y - 10;
} else if (_root.home.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.home.in1.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in2.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y - 5;
} else if (_root.home.in3.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
this._y = this._y - 5;
} else if (_root.home.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y + 5;
} else if (_root.home.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in8.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.home.in9.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.line1.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.line2.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line3.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line4.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
} else if (_root.line5.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.ice1.hitTest(this._x, this._y, true)) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 6000)) * diffx;
Fy = (K / (((r * r) * r) + 6000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.3, this._x + Fx, this._y + (Fx / 2));
} else if (_root.ice2.hitTest(this._x, this._y, true)) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 6000)) * diffx;
Fy = (K / (((r * r) * r) + 6000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.3, this._x + Fx, this._y + (Fx / 2));
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.3, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Instance of Symbol 650 MovieClip "sh5" in Frame 42
onClipEvent (load) {
K = 100000 /* 0x0186A0 */;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.isGame == true) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
if (r < 100) {
this.gotoAndStop(1);
if (_root.home.out1.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out2.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y + 10;
} else if (_root.home.out3.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
this._y = this._y - 10;
} else if (_root.home.out4.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
this._y = this._y + 10;
} else if (_root.home.in1.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in2.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y - 5;
} else if (_root.home.in3.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
} else if (_root.home.in4.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
this._y = this._y - 5;
} else if (_root.home.in5.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in6.hitTest(this._x, this._y, true)) {
this._x = this._x + 5;
this._y = this._y + 5;
} else if (_root.home.in7.hitTest(this._x, this._y, true)) {
this._y = this._y + 5;
} else if (_root.home.in8.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.home.in9.hitTest(this._x, this._y, true)) {
this._x = this._x - 5;
} else if (_root.line1.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.line2.hitTest(this._x, this._y, true)) {
this._x = this._x + 10;
} else if (_root.line3.hitTest(this._x, this._y, true)) {
this._y = this._y - 10;
} else if (_root.line4.hitTest(this._x, this._y, true)) {
this._x = this._x - 10;
} else if (_root.line5.hitTest(this._x, this._y, true)) {
this._y = this._y + 10;
} else if (_root.ice1.hitTest(this._x, this._y, true)) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 6000)) * diffx;
Fy = (K / (((r * r) * r) + 6000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.3, this._x + Fx, this._y + (Fx / 2));
} else if (_root.ice2.hitTest(this._x, this._y, true)) {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 6000)) * diffx;
Fy = (K / (((r * r) * r) + 6000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.3, this._x + Fx, this._y + (Fx / 2));
} else {
var diffx = (this._x - _root.ball._x);
var diffy = (this._y - _root.ball._y);
var r = Math.sqrt((diffx * diffx) + (diffy * diffy));
Fx = (K / (((r * r) * r) + 10000)) * diffx;
Fy = (K / (((r * r) * r) + 10000)) * diffy;
this.rotateTo(_root.ball._x, _root.ball._y);
this.smoothMove(0.3, this._x + Fx, this._y + Fy);
}
} else {
this.gotoAndStop(2);
}
} else {
this._x = startx;
this._y = starty;
this.rotateTo(startx + 100, starty);
this.gotoAndStop(2);
}
}
Frame 51
stop();
_root.rsnd.gotoAndPlay(2);
_root.tempcnt = false;
if (_root.count == 1) {
_root.wrong = 20 - _root.rightcnt1;
_root.right = _root.rightcnt1;
} else if (_root.count == 3) {
_root.wrong = 20 - _root.rightcnt2;
_root.right = _root.rightcnt2;
} else if (_root.count == 4) {
_root.wrong = 10 - _root.rightcnt3;
_root.right = _root.rightcnt3;
} else if (_root.count == 2) {
_root.wrong = 15 - _root.rightcnt4;
_root.right = _root.rightcnt4;
}
Frame 61
stop();
_root.wsnd.gotoAndPlay(2);
_root.tempcnt = false;
if (_root.count == 1) {
_root.wrong = 20 - _root.rightcnt1;
_root.right = _root.rightcnt1;
} else if (_root.count == 3) {
_root.wrong = 20 - _root.rightcnt2;
_root.right = _root.rightcnt2;
} else if (_root.count == 4) {
_root.wrong = 10 - _root.rightcnt3;
_root.right = _root.rightcnt3;
} else if (_root.count == 2) {
_root.wrong = 15 - _root.rightcnt4;
_root.right = _root.rightcnt4;
}
Frame 71
stop();
_root.rsnd.gotoAndPlay(2);
_root.tempcnt = false;
if (_root.count == 1) {
_root.wrong = 20 - _root.rightcnt1;
_root.right = _root.rightcnt1;
} else if (_root.count == 3) {
_root.wrong = 20 - _root.rightcnt2;
_root.right = _root.rightcnt2;
} else if (_root.count == 4) {
_root.wrong = 10 - _root.rightcnt3;
_root.right = _root.rightcnt3;
} else if (_root.count == 2) {
_root.wrong = 15 - _root.rightcnt4;
_root.right = _root.rightcnt4;
}
Frame 81
stop();
_root.wsnd.gotoAndPlay(2);
_root.tempcnt = false;
if (_root.count == 1) {
_root.wrong = 20 - _root.rightcnt1;
_root.right = _root.rightcnt1;
} else if (_root.count == 3) {
_root.wrong = 20 - _root.rightcnt2;
_root.right = _root.rightcnt2;
} else if (_root.count == 4) {
_root.wrong = 10 - _root.rightcnt3;
_root.right = _root.rightcnt3;
} else if (_root.count == 2) {
_root.wrong = 15 - _root.rightcnt4;
_root.right = _root.rightcnt4;
}
Frame 91
stop();
_root.rsnd.gotoAndPlay(2);
_root.em.finalcnt = (((_root.rightcnt1 + _root.rightcnt2) + _root.rightcnt3) + _root.rightcnt4) * 10;
Frame 101
stop();
_root.rsnd.gotoAndPlay(2);
_root.em.finalcnt = (((_root.rightcnt1 + _root.rightcnt2) + _root.rightcnt3) + _root.rightcnt4) * 10;
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 100
_root.gotoAndPlay(2);
Symbol 66 MovieClip Frame 1
loadedSize = _root.getBytesLoaded();
totalSize = _root.getBytesTotal();
if (loadedSize >= totalSize) {
_root.play();
} else {
parcent = (loadedSize / totalSize) * 100;
gDownloaded = Math.round(parcent);
_root.per = gDownloaded;
_root.gage.setBar(gDownloaded);
_root.stop();
}
Symbol 66 MovieClip Frame 2
this.gotoAndPlay(_currentframe - 1);
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 6
this.gotoAndPlay(_currentframe + 1);
Symbol 91 MovieClip Frame 36
_root.entersheep();
_root.isGame = true;
gotoAndStop (1);
Symbol 91 MovieClip Frame 51
this.gotoAndPlay(_currentframe + 1);
Symbol 91 MovieClip Frame 81
_root.entersheep2();
_root.isGame = true;
gotoAndStop (1);
Symbol 91 MovieClip Frame 97
this.gotoAndPlay(_currentframe + 1);
Symbol 91 MovieClip Frame 127
_root.entersheep3();
_root.isGame = true;
gotoAndStop (1);
Symbol 91 MovieClip Frame 143
this.gotoAndPlay(_currentframe + 1);
Symbol 91 MovieClip Frame 173
_root.entersheep1();
_root.isGame = true;
gotoAndStop (1);
Symbol 96 MovieClip Frame 421
this.gotoAndPlay(1);
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 11
this.gotoAndStop(1);
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 19
this.gotoAndStop(1);
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 8
this.gotoAndStop(1);
Symbol 114 Button
on (release) {
_root.gotoAndStop("select");
}
Symbol 162 Button
on (release) {
_root.selchar = 1;
this.gotoAndPlay(2);
_root.bol.gotoAndStop("dis");
}
Symbol 207 Button
on (release) {
_root.selchar = 1;
this.gotoAndStop(2);
_root.bol.gotoAndStop(3);
}
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 2
this.gotoAndPlay(_currentframe + 1);
Symbol 208 MovieClip Frame 27
stop();
_root.isGame = true;
_root.lamb.gotoAndPlay("stage1");
_root.gotoAndStop("level1");
Symbol 208 MovieClip Frame 28
stop();
Symbol 306 Button
on (release) {
_root.selchar = 2;
this.gotoAndPlay(2);
_root.roo.gotoAndStop("dis");
}
Symbol 341 Button
on (release) {
_root.selchar = 2;
this.gotoAndStop(2);
_root.roo.gotoAndStop(3);
}
Symbol 342 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 2
this.gotoAndPlay(_currentframe + 1);
Symbol 342 MovieClip Frame 27
stop();
_root.isGame = true;
_root.lamb.gotoAndPlay("stage1");
_root.gotoAndStop("level1");
Symbol 342 MovieClip Frame 28
stop();
Instance of Symbol 383 MovieClip "right" in Symbol 403 MovieClip Frame 1
onClipEvent (enterFrame) {
var i = 1;
while (i <= 20) {
if (this.hitTest(_root["sheep" + i]._x, _root["sheep" + i]._y, true)) {
_root["scnt" + i] = 1;
} else {
_root["scnt" + i] = 0;
}
i++;
}
_root.totalcnt = ((((((((((((((((((_root.scnt1 + _root.scnt2) + _root.scnt3) + _root.scnt4) + _root.scnt5) + _root.scnt6) + _root.scnt7) + _root.scnt8) + _root.scnt9) + _root.scnt10) + _root.scnt11) + _root.scnt12) + _root.scnt13) + _root.scnt14) + _root.scnt15) + _root.scnt16) + _root.scnt17) + _root.scnt18) + _root.scnt19) + _root.scnt20;
if (_root.totalcnt > tempcnt) {
_root.entersnd.gotoAndPlay(2);
}
tempcnt = _root.totalcnt;
_root.caught = _root.totalcnt;
}
Symbol 408 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 2
stop();
Symbol 409 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 10
stop();
Symbol 414 MovieClip Frame 1
stop();
Symbol 414 MovieClip Frame 10
stop();
Symbol 419 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 10
stop();
Symbol 420 MovieClip Frame 1
stop();
Symbol 420 MovieClip Frame 2
stop();
Symbol 425 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 242
_root.isGame = false;
if (_root.totalcnt > 14) {
_root.tempcnt = true;
_root.rightcnt1 = _root.totalcnt;
} else {
_root.tempcnt = false;
_root.rightcnt1 = _root.totalcnt;
}
Symbol 470 MovieClip Frame 243
var i = 1;
while (i <= 20) {
_root["sheep" + i].removeMovieClip();
i++;
}
Symbol 470 MovieClip Frame 247
if (_root.tempcnt == true) {
if (_root.selchar == 1) {
_root.gotoAndStop("win1");
} else if (_root.selchar == 2) {
_root.gotoAndStop("win2");
}
} else if (_root.selchar == 1) {
_root.gotoAndStop("lose1");
} else if (_root.selchar == 2) {
_root.gotoAndStop("lose2");
}
Symbol 470 MovieClip Frame 248
stop();
_root.caught = "";
Symbol 534 MovieClip Frame 1
stop();
Symbol 534 MovieClip Frame 2
stop();
Symbol 534 MovieClip Frame 3
stop();
Symbol 537 MovieClip Frame 1
stop();
Symbol 537 MovieClip Frame 2
stop();
Symbol 537 MovieClip Frame 3
stop();
Symbol 543 MovieClip Frame 1
stop();
Symbol 543 MovieClip Frame 2
stop();
Symbol 543 MovieClip Frame 3
stop();
Symbol 549 MovieClip Frame 1
stop();
Symbol 549 MovieClip Frame 2
stop();
Symbol 549 MovieClip Frame 3
stop();
Symbol 555 MovieClip Frame 1
stop();
Symbol 555 MovieClip Frame 2
stop();
Symbol 555 MovieClip Frame 3
stop();
Symbol 559 MovieClip Frame 1
stop();
Symbol 559 MovieClip Frame 322
_root.isGame = false;
if (_root.totalcnt > 9) {
_root.tempcnt = true;
_root.rightcnt2 = _root.totalcnt;
} else {
_root.tempcnt = false;
_root.rightcnt2 = _root.totalcnt;
}
Symbol 559 MovieClip Frame 323
var i = 1;
while (i <= 20) {
_root["sheep" + i].removeMovieClip();
i++;
}
Symbol 559 MovieClip Frame 327
if (_root.tempcnt == true) {
if (_root.selchar == 1) {
_root.gotoAndStop("win1");
} else if (_root.selchar == 2) {
_root.gotoAndStop("win2");
}
} else if (_root.selchar == 1) {
_root.gotoAndStop("lose1");
} else if (_root.selchar == 2) {
_root.gotoAndStop("lose2");
}
Symbol 559 MovieClip Frame 328
stop();
_root.caught = "";
Instance of Symbol 383 MovieClip "right" in Symbol 589 MovieClip Frame 1
onClipEvent (enterFrame) {
var i = 1;
while (i <= 20) {
if (this.hitTest(_root["sheep" + i]._x, _root["sheep" + i]._y, true)) {
_root["scnt" + i] = 1;
} else {
_root["scnt" + i] = 0;
}
i++;
}
_root.totalcnt = ((((((((((((((((((_root.scnt1 + _root.scnt2) + _root.scnt3) + _root.scnt4) + _root.scnt5) + _root.scnt6) + _root.scnt7) + _root.scnt8) + _root.scnt9) + _root.scnt10) + _root.scnt11) + _root.scnt12) + _root.scnt13) + _root.scnt14) + _root.scnt15) + _root.scnt16) + _root.scnt17) + _root.scnt18) + _root.scnt19) + _root.scnt20;
if (_root.totalcnt > tempcnt) {
_root.entersnd.gotoAndPlay(2);
}
tempcnt = _root.totalcnt;
_root.caught = _root.totalcnt;
}
Symbol 591 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 2
stop();
Symbol 591 MovieClip Frame 3
stop();
Symbol 593 MovieClip Frame 1
stop();
Symbol 593 MovieClip Frame 2
stop();
Symbol 593 MovieClip Frame 3
stop();
Symbol 595 MovieClip Frame 1
stop();
Symbol 595 MovieClip Frame 2
stop();
Symbol 595 MovieClip Frame 3
stop();
Symbol 597 MovieClip Frame 1
stop();
Symbol 597 MovieClip Frame 2
stop();
Symbol 597 MovieClip Frame 3
stop();
Symbol 599 MovieClip Frame 1
stop();
Symbol 599 MovieClip Frame 2
stop();
Symbol 599 MovieClip Frame 3
stop();
Symbol 617 MovieClip Frame 1
stop();
Symbol 617 MovieClip Frame 362
_root.isGame = false;
if (_root.totalcnt > 5) {
_root.tempcnt = true;
_root.rightcnt3 = _root.totalcnt;
} else {
_root.tempcnt = false;
_root.rightcnt3 = _root.totalcnt;
}
Symbol 617 MovieClip Frame 363
var i = 1;
while (i <= 20) {
_root["sheep" + i].removeMovieClip();
i++;
}
Symbol 617 MovieClip Frame 367
if (_root.tempcnt == true) {
if (_root.selchar == 1) {
_root.gotoAndStop("ending1");
} else if (_root.selchar == 2) {
_root.gotoAndStop("ending2");
}
} else if (_root.selchar == 1) {
_root.gotoAndStop("lose1");
} else if (_root.selchar == 2) {
_root.gotoAndStop("lose2");
}
Symbol 617 MovieClip Frame 368
stop();
_root.caught = "";
Instance of Symbol 383 MovieClip "right" in Symbol 640 MovieClip Frame 1
onClipEvent (enterFrame) {
var i = 1;
while (i <= 20) {
if (this.hitTest(_root["sheep" + i]._x, _root["sheep" + i]._y, true)) {
_root["scnt" + i] = 1;
} else {
_root["scnt" + i] = 0;
}
i++;
}
_root.totalcnt = ((((((((((((((((((_root.scnt1 + _root.scnt2) + _root.scnt3) + _root.scnt4) + _root.scnt5) + _root.scnt6) + _root.scnt7) + _root.scnt8) + _root.scnt9) + _root.scnt10) + _root.scnt11) + _root.scnt12) + _root.scnt13) + _root.scnt14) + _root.scnt15) + _root.scnt16) + _root.scnt17) + _root.scnt18) + _root.scnt19) + _root.scnt20;
if (_root.totalcnt > tempcnt) {
_root.entersnd.gotoAndPlay(2);
}
tempcnt = _root.totalcnt;
_root.caught = _root.totalcnt;
}
Symbol 642 MovieClip Frame 1
stop();
Symbol 642 MovieClip Frame 2
stop();
Symbol 642 MovieClip Frame 3
stop();
Symbol 644 MovieClip Frame 1
stop();
Symbol 644 MovieClip Frame 2
stop();
Symbol 644 MovieClip Frame 3
stop();
Symbol 646 MovieClip Frame 1
stop();
Symbol 646 MovieClip Frame 2
stop();
Symbol 646 MovieClip Frame 3
stop();
Symbol 648 MovieClip Frame 1
stop();
Symbol 648 MovieClip Frame 2
stop();
Symbol 648 MovieClip Frame 3
stop();
Symbol 650 MovieClip Frame 1
stop();
Symbol 650 MovieClip Frame 2
stop();
Symbol 650 MovieClip Frame 3
stop();
Symbol 654 MovieClip Frame 1
stop();
Symbol 654 MovieClip Frame 222
_root.isGame = false;
if (_root.totalcnt > 11) {
_root.tempcnt = true;
_root.rightcnt4 = _root.totalcnt;
} else {
_root.tempcnt = false;
_root.rightcnt4 = _root.totalcnt;
}
Symbol 654 MovieClip Frame 223
var i = 1;
while (i <= 20) {
_root["sheep" + i].removeMovieClip();
i++;
}
Symbol 654 MovieClip Frame 227
if (_root.tempcnt == true) {
if (_root.selchar == 1) {
_root.gotoAndStop("win1");
} else if (_root.selchar == 2) {
_root.gotoAndStop("win2");
}
} else if (_root.selchar == 1) {
_root.gotoAndStop("lose1");
} else if (_root.selchar == 2) {
_root.gotoAndStop("lose2");
}
Symbol 654 MovieClip Frame 228
stop();
_root.caught = "";
Symbol 697 Button
on (release) {
stopAllSounds();
if (_root.count == 1) {
_root.gotoAndStop("level2");
_root.lamb.gotoAndPlay("stage2");
} else if (_root.count == 2) {
_root.gotoAndStop("level3");
_root.lamb.gotoAndPlay("stage3");
} else if (_root.count == 3) {
_root.gotoAndStop("level4");
_root.lamb.gotoAndPlay("stage4");
}
}
Symbol 707 MovieClip Frame 1
stop();
Symbol 707 MovieClip Frame 70
this.gotoAndStop(1);
Symbol 743 MovieClip Frame 60
this.gotoAndPlay("re");
Symbol 745 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("level" + _root.count);
_root.lamb.gotoAndPlay("stage" + _root.count);
}
Symbol 753 MovieClip Frame 1
stop();
Symbol 753 MovieClip Frame 48
this.gotoAndStop(1);
Symbol 774 Button
on (release) {
stopAllSounds();
if (_root.count == 1) {
_root.gotoAndStop("level2");
_root.lamb.gotoAndPlay("stage2");
} else if (_root.count == 2) {
_root.gotoAndStop("level3");
_root.lamb.gotoAndPlay("stage3");
} else if (_root.count == 3) {
_root.gotoAndStop("level4");
_root.lamb.gotoAndPlay("stage4");
}
}
Symbol 815 MovieClip Frame 48
this.gotoAndPlay("re");
Symbol 896 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("select");
}