Frame 1
Stage.showMenu = false;
Frame 3
gotoAndStop(_global.fr);
Frame 4
_global.st = new Array();
_global.rem = 0;
stop();
Instance of Symbol 24 MovieClip "water" in Frame 4
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 29 MovieClip in Frame 4
onClipEvent (enterFrame) {
_root.btx.text = "Level " + String(_root._currentframe - 3);
}
Instance of Symbol 30 MovieClip in Frame 4
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 4
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 4
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 4
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 4
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 4
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 4
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 4
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 20 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 22 MovieClip "frog" in Frame 4
onClipEvent (load) {
t = 3;
}
onClipEvent (enterFrame) {
_root.atx.text = "Lily Pads Remaining: " + _global.rem;
speed = 50;
m = 0;
t = t - 1;
if (t <= 0) {
count = _global.de;
gleft = 1;
gright = 1;
gup = 1;
gdown = 1;
while (count > -1) {
count = count - 1;
if (_global.st[count].hitTest(_x - speed, _y, 1)) {
gleft = 0;
}
if (_global.st[count].hitTest(_x + speed, _y, 1)) {
gright = 0;
}
if (_global.st[count].hitTest(_x, _y - speed, 1)) {
gup = 0;
}
if (_global.st[count].hitTest(_x, _y + speed, 1)) {
gdown = 0;
}
}
if ((Key.isDown(37) and (!_root.water.hitTest(_x - speed, _y, 1))) and (gleft == 1)) {
this._x = this._x - speed;
this._rotation = 270;
t = 3;
m = 1;
} else if ((Key.isDown(39) and (!_root.water.hitTest(_x + speed, _y, 1))) and (gright == 1)) {
this._x = this._x + speed;
this._rotation = 90;
t = 3;
m = 1;
} else if ((Key.isDown(38) and (!_root.water.hitTest(_x, _y - speed, 1))) and (gup == 1)) {
this._y = this._y - speed;
this._rotation = 0;
t = 3;
m = 1;
} else if ((Key.isDown(40) and (!_root.water.hitTest(_x, _y + speed, 1))) and (gdown == 1)) {
this._y = this._y + speed;
this._rotation = 180;
t = 3;
m = 1;
}
}
}
Frame 5
_global.rem = 0;
Instance of Symbol 39 MovieClip "water" in Frame 5
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 30 MovieClip in Frame 5
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 5
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 5
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 5
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 5
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 20 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 22 MovieClip "frog" in Frame 5
onClipEvent (load) {
t = 3;
}
onClipEvent (enterFrame) {
_root.atx.text = "Lily Pads Remaining: " + _global.rem;
speed = 50;
m = 0;
t = t - 1;
if (t <= 0) {
count = _global.de;
gleft = 1;
gright = 1;
gup = 1;
gdown = 1;
while (count > -1) {
count = count - 1;
if (_global.st[count].hitTest(_x - speed, _y, 1)) {
gleft = 0;
}
if (_global.st[count].hitTest(_x + speed, _y, 1)) {
gright = 0;
}
if (_global.st[count].hitTest(_x, _y - speed, 1)) {
gup = 0;
}
if (_global.st[count].hitTest(_x, _y + speed, 1)) {
gdown = 0;
}
}
if ((Key.isDown(37) and (!_root.water.hitTest(_x - speed, _y, 1))) and (gleft == 1)) {
this._x = this._x - speed;
this._rotation = 270;
t = 3;
m = 1;
} else if ((Key.isDown(39) and (!_root.water.hitTest(_x + speed, _y, 1))) and (gright == 1)) {
this._x = this._x + speed;
this._rotation = 90;
t = 3;
m = 1;
} else if ((Key.isDown(38) and (!_root.water.hitTest(_x, _y - speed, 1))) and (gup == 1)) {
this._y = this._y - speed;
this._rotation = 0;
t = 3;
m = 1;
} else if ((Key.isDown(40) and (!_root.water.hitTest(_x, _y + speed, 1))) and (gdown == 1)) {
this._y = this._y + speed;
this._rotation = 180;
t = 3;
m = 1;
}
}
}
Frame 6
_global.rem = 0;
Instance of Symbol 42 MovieClip "water" in Frame 6
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 6
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 20 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 22 MovieClip "frog" in Frame 6
onClipEvent (load) {
t = 3;
}
onClipEvent (enterFrame) {
_root.atx.text = "Lily Pads Remaining: " + _global.rem;
speed = 50;
m = 0;
t = t - 1;
if (t <= 0) {
count = _global.de;
gleft = 1;
gright = 1;
gup = 1;
gdown = 1;
while (count > -1) {
count = count - 1;
if (_global.st[count].hitTest(_x - speed, _y, 1)) {
gleft = 0;
}
if (_global.st[count].hitTest(_x + speed, _y, 1)) {
gright = 0;
}
if (_global.st[count].hitTest(_x, _y - speed, 1)) {
gup = 0;
}
if (_global.st[count].hitTest(_x, _y + speed, 1)) {
gdown = 0;
}
}
if ((Key.isDown(37) and (!_root.water.hitTest(_x - speed, _y, 1))) and (gleft == 1)) {
this._x = this._x - speed;
this._rotation = 270;
t = 3;
m = 1;
} else if ((Key.isDown(39) and (!_root.water.hitTest(_x + speed, _y, 1))) and (gright == 1)) {
this._x = this._x + speed;
this._rotation = 90;
t = 3;
m = 1;
} else if ((Key.isDown(38) and (!_root.water.hitTest(_x, _y - speed, 1))) and (gup == 1)) {
this._y = this._y - speed;
this._rotation = 0;
t = 3;
m = 1;
} else if ((Key.isDown(40) and (!_root.water.hitTest(_x, _y + speed, 1))) and (gdown == 1)) {
this._y = this._y + speed;
this._rotation = 180;
t = 3;
m = 1;
}
}
}
Frame 7
_global.rem = 0;
Instance of Symbol 44 MovieClip "water" in Frame 7
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 30 MovieClip in Frame 7
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 20 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 30 MovieClip in Frame 7
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 7
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 7
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 7
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 7
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 7
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 7
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 7
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 22 MovieClip "frog" in Frame 7
onClipEvent (load) {
t = 3;
}
onClipEvent (enterFrame) {
_root.atx.text = "Lily Pads Remaining: " + _global.rem;
speed = 50;
m = 0;
t = t - 1;
if (t <= 0) {
count = _global.de;
gleft = 1;
gright = 1;
gup = 1;
gdown = 1;
while (count > -1) {
count = count - 1;
if (_global.st[count].hitTest(_x - speed, _y, 1)) {
gleft = 0;
}
if (_global.st[count].hitTest(_x + speed, _y, 1)) {
gright = 0;
}
if (_global.st[count].hitTest(_x, _y - speed, 1)) {
gup = 0;
}
if (_global.st[count].hitTest(_x, _y + speed, 1)) {
gdown = 0;
}
}
if ((Key.isDown(37) and (!_root.water.hitTest(_x - speed, _y, 1))) and (gleft == 1)) {
this._x = this._x - speed;
this._rotation = 270;
t = 3;
m = 1;
} else if ((Key.isDown(39) and (!_root.water.hitTest(_x + speed, _y, 1))) and (gright == 1)) {
this._x = this._x + speed;
this._rotation = 90;
t = 3;
m = 1;
} else if ((Key.isDown(38) and (!_root.water.hitTest(_x, _y - speed, 1))) and (gup == 1)) {
this._y = this._y - speed;
this._rotation = 0;
t = 3;
m = 1;
} else if ((Key.isDown(40) and (!_root.water.hitTest(_x, _y + speed, 1))) and (gdown == 1)) {
this._y = this._y + speed;
this._rotation = 180;
t = 3;
m = 1;
}
}
}
Frame 8
_global.rem = 0;
Instance of Symbol 46 MovieClip "water" in Frame 8
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 30 MovieClip in Frame 8
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 8
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 8
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 8
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 8
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 8
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 8
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 22 MovieClip "frog" in Frame 8
onClipEvent (load) {
t = 3;
}
onClipEvent (enterFrame) {
_root.atx.text = "Lily Pads Remaining: " + _global.rem;
speed = 50;
m = 0;
t = t - 1;
if (t <= 0) {
count = _global.de;
gleft = 1;
gright = 1;
gup = 1;
gdown = 1;
while (count > -1) {
count = count - 1;
if (_global.st[count].hitTest(_x - speed, _y, 1)) {
gleft = 0;
}
if (_global.st[count].hitTest(_x + speed, _y, 1)) {
gright = 0;
}
if (_global.st[count].hitTest(_x, _y - speed, 1)) {
gup = 0;
}
if (_global.st[count].hitTest(_x, _y + speed, 1)) {
gdown = 0;
}
}
if ((Key.isDown(37) and (!_root.water.hitTest(_x - speed, _y, 1))) and (gleft == 1)) {
this._x = this._x - speed;
this._rotation = 270;
t = 3;
m = 1;
} else if ((Key.isDown(39) and (!_root.water.hitTest(_x + speed, _y, 1))) and (gright == 1)) {
this._x = this._x + speed;
this._rotation = 90;
t = 3;
m = 1;
} else if ((Key.isDown(38) and (!_root.water.hitTest(_x, _y - speed, 1))) and (gup == 1)) {
this._y = this._y - speed;
this._rotation = 0;
t = 3;
m = 1;
} else if ((Key.isDown(40) and (!_root.water.hitTest(_x, _y + speed, 1))) and (gdown == 1)) {
this._y = this._y + speed;
this._rotation = 180;
t = 3;
m = 1;
}
}
}
Frame 9
_global.rem = 0;
Instance of Symbol 48 MovieClip "water" in Frame 9
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 30 MovieClip in Frame 9
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 9
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 9
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 9
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 9
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 9
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 9
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 9
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 22 MovieClip "frog" in Frame 9
onClipEvent (load) {
t = 3;
}
onClipEvent (enterFrame) {
_root.atx.text = "Lily Pads Remaining: " + _global.rem;
speed = 50;
m = 0;
t = t - 1;
if (t <= 0) {
count = _global.de;
gleft = 1;
gright = 1;
gup = 1;
gdown = 1;
while (count > -1) {
count = count - 1;
if (_global.st[count].hitTest(_x - speed, _y, 1)) {
gleft = 0;
}
if (_global.st[count].hitTest(_x + speed, _y, 1)) {
gright = 0;
}
if (_global.st[count].hitTest(_x, _y - speed, 1)) {
gup = 0;
}
if (_global.st[count].hitTest(_x, _y + speed, 1)) {
gdown = 0;
}
}
if ((Key.isDown(37) and (!_root.water.hitTest(_x - speed, _y, 1))) and (gleft == 1)) {
this._x = this._x - speed;
this._rotation = 270;
t = 3;
m = 1;
} else if ((Key.isDown(39) and (!_root.water.hitTest(_x + speed, _y, 1))) and (gright == 1)) {
this._x = this._x + speed;
this._rotation = 90;
t = 3;
m = 1;
} else if ((Key.isDown(38) and (!_root.water.hitTest(_x, _y - speed, 1))) and (gup == 1)) {
this._y = this._y - speed;
this._rotation = 0;
t = 3;
m = 1;
} else if ((Key.isDown(40) and (!_root.water.hitTest(_x, _y + speed, 1))) and (gdown == 1)) {
this._y = this._y + speed;
this._rotation = 180;
t = 3;
m = 1;
}
}
}
Frame 10
_global.rem = 0;
Instance of Symbol 50 MovieClip "water" in Frame 10
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 30 MovieClip in Frame 10
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 10
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 10
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 10
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 10
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 10
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 10
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 20 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 20 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 22 MovieClip "frog" in Frame 10
onClipEvent (load) {
t = 3;
}
onClipEvent (enterFrame) {
_root.atx.text = "Lily Pads Remaining: " + _global.rem;
speed = 50;
m = 0;
t = t - 1;
if (t <= 0) {
count = _global.de;
gleft = 1;
gright = 1;
gup = 1;
gdown = 1;
while (count > -1) {
count = count - 1;
if (_global.st[count].hitTest(_x - speed, _y, 1)) {
gleft = 0;
}
if (_global.st[count].hitTest(_x + speed, _y, 1)) {
gright = 0;
}
if (_global.st[count].hitTest(_x, _y - speed, 1)) {
gup = 0;
}
if (_global.st[count].hitTest(_x, _y + speed, 1)) {
gdown = 0;
}
}
if ((Key.isDown(37) and (!_root.water.hitTest(_x - speed, _y, 1))) and (gleft == 1)) {
this._x = this._x - speed;
this._rotation = 270;
t = 3;
m = 1;
} else if ((Key.isDown(39) and (!_root.water.hitTest(_x + speed, _y, 1))) and (gright == 1)) {
this._x = this._x + speed;
this._rotation = 90;
t = 3;
m = 1;
} else if ((Key.isDown(38) and (!_root.water.hitTest(_x, _y - speed, 1))) and (gup == 1)) {
this._y = this._y - speed;
this._rotation = 0;
t = 3;
m = 1;
} else if ((Key.isDown(40) and (!_root.water.hitTest(_x, _y + speed, 1))) and (gdown == 1)) {
this._y = this._y + speed;
this._rotation = 180;
t = 3;
m = 1;
}
}
}
Frame 11
_global.rem = 0;
Instance of Symbol 52 MovieClip "water" in Frame 11
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 11
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 22 MovieClip "frog" in Frame 11
onClipEvent (load) {
t = 3;
}
onClipEvent (enterFrame) {
_root.atx.text = "Lily Pads Remaining: " + _global.rem;
speed = 50;
m = 0;
t = t - 1;
if (t <= 0) {
count = _global.de;
gleft = 1;
gright = 1;
gup = 1;
gdown = 1;
while (count > -1) {
count = count - 1;
if (_global.st[count].hitTest(_x - speed, _y, 1)) {
gleft = 0;
}
if (_global.st[count].hitTest(_x + speed, _y, 1)) {
gright = 0;
}
if (_global.st[count].hitTest(_x, _y - speed, 1)) {
gup = 0;
}
if (_global.st[count].hitTest(_x, _y + speed, 1)) {
gdown = 0;
}
}
if ((Key.isDown(37) and (!_root.water.hitTest(_x - speed, _y, 1))) and (gleft == 1)) {
this._x = this._x - speed;
this._rotation = 270;
t = 3;
m = 1;
} else if ((Key.isDown(39) and (!_root.water.hitTest(_x + speed, _y, 1))) and (gright == 1)) {
this._x = this._x + speed;
this._rotation = 90;
t = 3;
m = 1;
} else if ((Key.isDown(38) and (!_root.water.hitTest(_x, _y - speed, 1))) and (gup == 1)) {
this._y = this._y - speed;
this._rotation = 0;
t = 3;
m = 1;
} else if ((Key.isDown(40) and (!_root.water.hitTest(_x, _y + speed, 1))) and (gdown == 1)) {
this._y = this._y + speed;
this._rotation = 180;
t = 3;
m = 1;
}
}
}
Frame 12
_global.rem = 0;
Instance of Symbol 54 MovieClip "water" in Frame 12
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 30 MovieClip in Frame 12
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 20 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (hitTest(_root.frog) and (_global.rem == 0)) {
the = new Sound(this);
the.attachSound("frogsound");
the.start(0, 1);
_root.nextFrame();
}
}
Instance of Symbol 30 MovieClip in Frame 12
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 12
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 12
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 12
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 12
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 12
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 12
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 12
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 12
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 12
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 12
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 22 MovieClip "frog" in Frame 12
onClipEvent (load) {
t = 3;
}
onClipEvent (enterFrame) {
_root.atx.text = "Lily Pads Remaining: " + _global.rem;
speed = 50;
m = 0;
t = t - 1;
if (t <= 0) {
count = _global.de;
gleft = 1;
gright = 1;
gup = 1;
gdown = 1;
while (count > -1) {
count = count - 1;
if (_global.st[count].hitTest(_x - speed, _y, 1)) {
gleft = 0;
}
if (_global.st[count].hitTest(_x + speed, _y, 1)) {
gright = 0;
}
if (_global.st[count].hitTest(_x, _y - speed, 1)) {
gup = 0;
}
if (_global.st[count].hitTest(_x, _y + speed, 1)) {
gdown = 0;
}
}
if ((Key.isDown(37) and (!_root.water.hitTest(_x - speed, _y, 1))) and (gleft == 1)) {
this._x = this._x - speed;
this._rotation = 270;
t = 3;
m = 1;
} else if ((Key.isDown(39) and (!_root.water.hitTest(_x + speed, _y, 1))) and (gright == 1)) {
this._x = this._x + speed;
this._rotation = 90;
t = 3;
m = 1;
} else if ((Key.isDown(38) and (!_root.water.hitTest(_x, _y - speed, 1))) and (gup == 1)) {
this._y = this._y - speed;
this._rotation = 0;
t = 3;
m = 1;
} else if ((Key.isDown(40) and (!_root.water.hitTest(_x, _y + speed, 1))) and (gdown == 1)) {
this._y = this._y + speed;
this._rotation = 180;
t = 3;
m = 1;
}
}
}
Frame 13
_global.rem = 0;
Instance of Symbol 56 MovieClip "water" in Frame 13
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 30 MovieClip in Frame 13
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 13
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 13
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 13
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 13
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 13
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 13
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 13
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 13
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 13
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 13
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 13
onClipEvent (load) {
_global.de = 0;
stop();
h = 3;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 22 MovieClip "frog" in Frame 13
onClipEvent (load) {
t = 3;
}
onClipEvent (enterFrame) {
_root.atx.text = "Lily Pads Remaining: " + _global.rem;
speed = 50;
m = 0;
t = t - 1;
if (t <= 0) {
count = _global.de;
gleft = 1;
gright = 1;
gup = 1;
gdown = 1;
while (count > -1) {
count = count - 1;
if (_global.st[count].hitTest(_x - speed, _y, 1)) {
gleft = 0;
}
if (_global.st[count].hitTest(_x + speed, _y, 1)) {
gright = 0;
}
if (_global.st[count].hitTest(_x, _y - speed, 1)) {
gup = 0;
}
if (_global.st[count].hitTest(_x, _y + speed, 1)) {
gdown = 0;
}
}
if ((Key.isDown(37) and (!_root.water.hitTest(_x - speed, _y, 1))) and (gleft == 1)) {
this._x = this._x - speed;
this._rotation = 270;
t = 3;
m = 1;
} else if ((Key.isDown(39) and (!_root.water.hitTest(_x + speed, _y, 1))) and (gright == 1)) {
this._x = this._x + speed;
this._rotation = 90;
t = 3;
m = 1;
} else if ((Key.isDown(38) and (!_root.water.hitTest(_x, _y - speed, 1))) and (gup == 1)) {
this._y = this._y - speed;
this._rotation = 0;
t = 3;
m = 1;
} else if ((Key.isDown(40) and (!_root.water.hitTest(_x, _y + speed, 1))) and (gdown == 1)) {
this._y = this._y + speed;
this._rotation = 180;
t = 3;
m = 1;
}
}
}
Frame 14
_global.rem = 0;
Instance of Symbol 58 MovieClip "water" in Frame 14
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 2;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 30 MovieClip in Frame 14
onClipEvent (load) {
_global.de = 0;
stop();
h = 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
_global.rem = _global.rem + 1;
this._rotation = Math.floor(Math.random() * 4) * 90;
}
onClipEvent (enterFrame) {
if (((_root.frog.m == 1) and (hit == 1)) and (_visible == 1)) {
if (h == 1) {
_visible = 0;
var b = _root.attachMovie("bullet", "bullet" + _global.de, _global.de);
(b._x = _x);
(b._y = _y);
b._visible = 0;
_global.st[_global.de] = b;
_global.de = _global.de + 1;
_global.rem = _global.rem - 1;
} else {
h = h - 1;
if (h == 2) {
gotoAndStop (2);
}
if (h == 1) {
gotoAndStop (3);
}
}
}
if (this.hitTest(_root.frog)) {
hit = 1;
} else {
hit = 0;
}
}
Instance of Symbol 22 MovieClip "frog" in Frame 14
onClipEvent (load) {
t = 3;
}
onClipEvent (enterFrame) {
_root.atx.text = "Lily Pads Remaining: " + _global.rem;
speed = 50;
m = 0;
t = t - 1;
if (t <= 0) {
count = _global.de;
gleft = 1;
gright = 1;
gup = 1;
gdown = 1;
while (count > -1) {
count = count - 1;
if (_global.st[count].hitTest(_x - speed, _y, 1)) {
gleft = 0;
}
if (_global.st[count].hitTest(_x + speed, _y, 1)) {
gright = 0;
}
if (_global.st[count].hitTest(_x, _y - speed, 1)) {
gup = 0;
}
if (_global.st[count].hitTest(_x, _y + speed, 1)) {
gdown = 0;
}
}
if ((Key.isDown(37) and (!_root.water.hitTest(_x - speed, _y, 1))) and (gleft == 1)) {
this._x = this._x - speed;
this._rotation = 270;
t = 3;
m = 1;
} else if ((Key.isDown(39) and (!_root.water.hitTest(_x + speed, _y, 1))) and (gright == 1)) {
this._x = this._x + speed;
this._rotation = 90;
t = 3;
m = 1;
} else if ((Key.isDown(38) and (!_root.water.hitTest(_x, _y - speed, 1))) and (gup == 1)) {
this._y = this._y - speed;
this._rotation = 0;
t = 3;
m = 1;
} else if ((Key.isDown(40) and (!_root.water.hitTest(_x, _y + speed, 1))) and (gdown == 1)) {
this._y = this._y + speed;
this._rotation = 180;
t = 3;
m = 1;
}
}
}
Frame 15
_global.rem = 0;
Instance of Symbol 61 MovieClip "water" in Frame 15
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 22 MovieClip "frog" in Frame 15
onClipEvent (load) {
t = 3;
}
onClipEvent (enterFrame) {
speed = 50;
m = 0;
t = t - 1;
if (t <= 0) {
count = _global.de;
gleft = 1;
gright = 1;
gup = 1;
gdown = 1;
if ((Key.isDown(37) and (!_root.water.hitTest(_x - speed, _y, 1))) and (gleft == 1)) {
this._x = this._x - speed;
this._rotation = 270;
t = 3;
m = 1;
} else if ((Key.isDown(39) and (!_root.water.hitTest(_x + speed, _y, 1))) and (gright == 1)) {
this._x = this._x + speed;
this._rotation = 90;
t = 3;
m = 1;
} else if ((Key.isDown(38) and (!_root.water.hitTest(_x, _y - speed, 1))) and (gup == 1)) {
this._y = this._y - speed;
this._rotation = 0;
t = 3;
m = 1;
} else if ((Key.isDown(40) and (!_root.water.hitTest(_x, _y + speed, 1))) and (gdown == 1)) {
this._y = this._y + speed;
this._rotation = 180;
t = 3;
m = 1;
}
}
}
Symbol 15 Button
on (release) {
_root.gotoAndStop(4);
}
Symbol 16 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded * 3.16;
} else {
gotoAndStop (3);
}
Symbol 16 MovieClip Frame 2
gotoAndPlay (1);
Symbol 37 Button
on (release) {
_global.fr = _root._currentframe;
_root.gotoAndStop(3);
}
Symbol 65 Button
on (release) {
_root.gotoAndStop(1);
}
Symbol 68 Button
on (release) {
getURL ("http://www.idiotzone.com/");
}