Frame 1
function distSq(ptA, ptB) {
return(((ptA[0] - ptB[0]) * (ptA[0] - ptB[0])) + ((ptA[1] - ptB[1]) * (ptA[1] - ptB[1])));
}
stop();
var pointArray = new Array();
var maxDistance = new Number(5);
var maxDistance2 = (maxDistance * maxDistance);
var gravity = new Number(2);
var lineLenght = new Number(60);
pointArray.push([Stage.width / 2, Stage.height / 2]);
_root.createEmptyMovieClip("line", 1);
_root.line.lineStyle(2, 0, 100);
_root.line.moveTo(pointArray[0][0], pointArray[0][1]);
i = 1;
while (i < lineLenght) {
pointArray.push([pointArray[0][0], pointArray[0][1] + (i * maxDistance)]);
_root.line.lineTo(pointArray[i][0], pointArray[i][1]);
i++;
}
_root.onEnterFrame = function () {
pointArray[0][0] = _xmouse;
pointArray[0][1] = _ymouse;
_root.line.clear();
_root.line.moveTo(pointArray[0][0], pointArray[0][1]);
_root.line.lineStyle(2, 0, 100);
i = 1;
while (i < lineLenght) {
pointArray[i][1] = pointArray[i][1] + gravity;
if (distSq(pointArray[i], pointArray[i - 1]) > maxDistance2) {
var _local2 = Math.atan2(pointArray[i][1] - pointArray[i - 1][1], pointArray[i][0] - pointArray[i - 1][0]);
pointArray[i][0] = pointArray[i - 1][0] + (Math.cos(_local2) * maxDistance);
pointArray[i][1] = pointArray[i - 1][1] + (Math.sin(_local2) * maxDistance);
}
_root.line.lineTo(pointArray[i][0], pointArray[i][1]);
i++;
}
};
Instance of Symbol 6 MovieClip in Frame 1
on (press) {
getURL ("http://www.cremationproductions.com");
}
Frame 2
stop();
removeMovieClip(_root.line);
Instance of Symbol 20 MovieClip in Frame 2
on (press) {
getURL ("http://www.gamegecko");
}
Frame 3
function doSomething() {
}
function doSomething2() {
getURL ("http://www.cremationproductions.com", _blank);
}
function doSomething3() {
getURL ("http://www.gamegecko.com", _blank);
}
stop();
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Made by Eggy", doSomething);
Functioned2 = new ContextMenuItem("Visit Cremation Productions", doSomething2);
Functioned3 = new ContextMenuItem("Visit Gecko Games", doSomething3);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
_root.menu = MENU;
Instance of Symbol 46 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 46 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Frame 4
stop();
stopAllSounds();
Frame 5
_root.poo.lives = 5;
stop();
if (Key.isDown(13)) {
_root.gotoAndPlay(7);
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 0.2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 1;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 135 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(6);
}
}
Instance of Symbol 151 MovieClip "char" in Frame 5
onClipEvent (mouseMove) {
Xd = _root._xmouse - _x;
Yd = _root._ymouse - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
updateAfterEvent();
}
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fall)) {
someSound = new Sound();
someSound.attachSound("oof3", this);
someSound.start();
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Instance of Symbol 162 MovieClip "poo" in Frame 5
onClipEvent (enterFrame) {
if (_root.poo.lives == 0) {
_root.gotoAndStop(4);
}
}
Instance of Symbol 165 MovieClip in Frame 5
onClipEvent (enterFrame) {
this._x = _root.char._x;
}
Frame 6
stop();
_root.char._x = 53;
_root.char._y = 107;
Instance of Symbol 135 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(7);
}
}
Instance of Symbol 151 MovieClip "char" in Frame 6
onClipEvent (mouseMove) {
Xd = _root._xmouse - _x;
Yd = _root._ymouse - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
updateAfterEvent();
}
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fall)) {
someSound = new Sound();
someSound.attachSound("oof2", this);
someSound.start();
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Frame 7
stop();
_root.char._x = 53;
_root.char._y = 107;
Instance of Symbol 151 MovieClip "char" in Frame 7
onClipEvent (mouseMove) {
Xd = _root._xmouse - _x;
Yd = _root._ymouse - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
updateAfterEvent();
}
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fall)) {
someSound = new Sound();
someSound.attachSound("oof2", this);
someSound.start();
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Instance of Symbol 207 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Frame 8
stop();
_root.char._x = 53;
_root.char._y = 107;
Instance of Symbol 151 MovieClip "char" in Frame 8
onClipEvent (mouseMove) {
Xd = _root._xmouse - _x;
Yd = _root._ymouse - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
updateAfterEvent();
}
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fall)) {
someSound = new Sound();
someSound.attachSound("oof3", this);
someSound.start();
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Instance of Symbol 135 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(12);
}
}
Frame 9
stop();
Frame 10
stopAllSounds();
Frame 11
stop();
Frame 12
stop();
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 0.2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation - 1;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 235 MovieClip in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 236 MovieClip "fall" in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Instance of Symbol 151 MovieClip "char" in Frame 12
onClipEvent (mouseMove) {
Xd = _root._xmouse - _x;
Yd = _root._ymouse - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
updateAfterEvent();
}
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fall)) {
someSound = new Sound();
someSound.attachSound("oof2", this);
somesound.start();
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Frame 13
stop();
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 0.2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation - 1;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 251 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 267 MovieClip "char" in Frame 13
onClipEvent (mouseMove) {
Xd = _root._xmouse - _x;
Yd = _root._ymouse - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
updateAfterEvent();
}
onClipEvent (load) {
grav = 0;
speed = 5;
jumpHeight = 12;
scale = _xscale;
yp = 0;
grounded = false;
timer = 0;
timer2 = 0;
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (_root.ground.hitTest(!this)) {
this.gotoAndStop(3);
}
} else if (_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(38))) {
this.gotoAndStop(3);
}
if ((((!Key.isDown(38)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(40))) {
this.gotoAndStop(4);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(4);
}
if (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x + (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true) || (_root.ground.hitTest(_x - (_width / 2), _y - ((_height / 6) * 4), true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = 2;
}
}
Instance of Symbol 236 MovieClip "fall" in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Instance of Symbol 240 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(11);
}
}
Instance of Symbol 277 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._x = _root.char._x;
}
Symbol 9 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
_root.gotoAndPlay(2);
}
Symbol 9 MovieClip Frame 2
gotoAndPlay (1);
Symbol 18 Button
on (release) {
getURL ("http://www.gamegecko.com", _blank);
}
Symbol 19 Button
on (release) {
getURL ("www.gamegecko.com", _blank);
}
Symbol 20 MovieClip Frame 130
_root.gotoAndStop(3);
Symbol 31 Button
on (press) {
gotoAndStop (5);
}
Symbol 36 Button
on (press) {
gotoAndStop (9);
}
Symbol 40 Button
on (press) {
getURL ("http://www.gamegecko.com");
}
Symbol 43 Button
on (release) {
getURL ("http://www.gamegecko.com");
}
Symbol 67 Button
on (press) {
gotoAndStop (5);
}
Symbol 92 Button
on (press) {
gotoAndStop (9);
}
Symbol 119 Button
on (press) {
getURL ("http://www.gamegecko.com");
}
Symbol 122 Button
on (press) {
getURL ("http://www.gamegecko.com");
}
Symbol 125 Button
on (press) {
getURL ("http://www.gamesforwebsites.com");
}
Symbol 131 Button
on (press) {
gotoAndStop (3);
}
Symbol 150 MovieClip Frame 2
stop();
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 2
stop();
Symbol 151 MovieClip Frame 3
stop();
Symbol 151 MovieClip Frame 4
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 172 MovieClip in Symbol 173 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Instance of Symbol 173 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = 50;
_root.char._y = 100;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Instance of Symbol 173 MovieClip in Symbol 194 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = 50;
_root.char._y = 100;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Instance of Symbol 196 MovieClip in Symbol 198 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_currentframe < 100)) {
_root.char._x = _root.char._x - 1.3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_currentframe > 100)) {
_root.char._x = _root.char._x + 1.3;
}
}
Instance of Symbol 196 MovieClip in Symbol 198 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_currentframe < 100)) {
_root.char._x = _root.char._x + 1.3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_currentframe > 100)) {
_root.char._x = _root.char._x - 1.3;
}
}
Instance of Symbol 196 MovieClip in Symbol 198 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_currentframe < 100)) {
_root.char._x = _root.char._x - 1.3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_currentframe > 100)) {
_root.char._x = _root.char._x + 1.3;
}
}
Instance of Symbol 196 MovieClip in Symbol 198 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_currentframe < 100)) {
_root.char._x = _root.char._x + 1.3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_currentframe > 100)) {
_root.char._x = _root.char._x - 1.3;
}
}
Instance of Symbol 135 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(8);
}
}
Instance of Symbol 220 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Instance of Symbol 220 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Instance of Symbol 220 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Instance of Symbol 196 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_currentframe < 100)) {
_root.char._x = _root.char._x + 1.3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) and (_currentframe > 100)) {
_root.char._x = _root.char._x - 1.3;
}
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 0.2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 1;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 133 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 1;
}
Symbol 232 MovieClip Frame 245
stop();
Instance of Symbol 239 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 239 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 239 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 240 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.gotoAndStop(12);
}
}
Instance of Symbol 243 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
Symbol 248 MovieClip Frame 77
_root.ball._y = _root.ball._y + 50;
Symbol 248 MovieClip Frame 78
_root.ball._y = _root.ball._y + 50;
Symbol 248 MovieClip Frame 79
_root.ball._y = _root.ball._y + 50;
Symbol 248 MovieClip Frame 80
_root.ball._y = _root.ball._y + 50;
Symbol 266 MovieClip Frame 2
stop();
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 2
stop();
Symbol 267 MovieClip Frame 3
stop();
Symbol 267 MovieClip Frame 4
stop();
Instance of Symbol 245 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 245 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 245 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 245 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 245 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.poo.gotoAndPlay(2);
_root.poo.lives = _root.poo.lives - 1;
_root.char._x = 50;
_root.char._y = 100;
}
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Symbol 274 MovieClip Frame 77
_root.ball._y = _root.ball._y + 50;
Symbol 274 MovieClip Frame 78
_root.ball._y = _root.ball._y + 50;
Symbol 274 MovieClip Frame 79
_root.ball._y = _root.ball._y + 50;
Symbol 274 MovieClip Frame 80
_root.ball._y = _root.ball._y + 50;
Symbol 277 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;