Frame 1 (17 B)
stopAllSounds();
Instance of Symbol 8 MovieClip in Frame 1 (264 B)
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int((loaded / total) * 100);
percen1 = ("" + percent) + "%";
gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndPlay(2);
}
}
Frame 4 (20 B)
clock = 0;
stop();
Frame 5 (8 B)
stop();
Instance of Symbol 41 MovieClip in Frame 5 (116 B)
onClipEvent (enterFrame) {
_y = (_y + ((_root.player._y - _y) / 4));
_x = (_x + ((_root.player._x - _x) / 4));
}
Instance of Symbol 48 MovieClip in Frame 5 (316 B)
onClipEvent (load) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
if (this._y >= 310) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
}
Instance of Symbol 48 MovieClip in Frame 5 (316 B)
onClipEvent (load) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
if (this._y >= 310) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
}
Instance of Symbol 48 MovieClip in Frame 5 (316 B)
onClipEvent (load) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
if (this._y >= 310) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
}
Instance of Symbol 48 MovieClip in Frame 5 (316 B)
onClipEvent (load) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
if (this._y >= 310) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
}
Instance of Symbol 48 MovieClip in Frame 5 (316 B)
onClipEvent (load) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
if (this._y >= 310) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
}
Instance of Symbol 48 MovieClip in Frame 5 (316 B)
onClipEvent (load) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
if (this._y >= 310) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
}
Instance of Symbol 48 MovieClip in Frame 5 (316 B)
onClipEvent (load) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
if (this._y >= 310) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
}
Instance of Symbol 48 MovieClip in Frame 5 (316 B)
onClipEvent (load) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
if (this._y >= 310) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
}
Instance of Symbol 48 MovieClip in Frame 5 (316 B)
onClipEvent (load) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
onClipEvent (enterFrame) {
this._y = this._y + speed;
if (this.hitTest(_root.player)) {
_root.nextFrame();
}
if (this._y >= 310) {
this._x = random(550);
this._y = random(-50);
speed = random(15) + 5;
}
}
Instance of Symbol 57 MovieClip "player" in Frame 5 (2.01 KiB) ●
onClipEvent (load) {
var grav = 0;
var speed = 15;
var jumpHeight = 14;
var slow = 0.7;
var slowspd = (speed / 1.5);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y = (_y + grav);
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(79))) && (!Key.isDown(73))) {
this.gotoAndStop(3);
}
if ((((Key.isDown(79) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(73))) {
this.gotoAndStop(5);
}
if ((((Key.isDown(73) && (!Key.isDown(87))) && (!Key.isDown(65))) && (!Key.isDown(68))) && (!Key.isDown(79))) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
}
Frame 6 (8 B)
stop();
Instance of Symbol 72 MovieClip in Frame 6 (798 B)
onClipEvent (enterFrame) {
if (_root.clock < 1) {
_root.rank = "Retarded Butterfly";
}
if ((_root.clock > 0) && (_root.clock < 11)) {
_root.rank = "Newbie";
}
if ((_root.clock > 10) && (_root.clock < 21)) {
_root.rank = "Poor";
}
if ((_root.clock > 21) && (_root.clock < 40)) {
_root.rank = "Okay";
}
if ((_root.clock > 39) && (_root.clock < 61)) {
_root.rank = "Not Bad";
}
if ((_root.clock > 59) && (_root.clock < 91)) {
_root.rank = "Good";
}
if ((_root.clock > 90) && (_root.clock < 131)) {
_root.rank = "Masterful";
}
if ((_root.clock > 130) && (_root.clock < 251)) {
_root.rank = "FazzleMan";
}
if (_root.clock > 250) {
_root.rank = "Chuck Norris";
}
}
Symbol 24 Button (30 B)
on (release) {
nextFrame();
}
Symbol 41 MovieClip Frame 1 (948 B)
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 47 MovieClip in Symbol 48 MovieClip Frame 1 (90 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.smidge)) {
_root.gotoAndStop(6);
}
}
Symbol 57 MovieClip Frame 1 (8 B)
stop();
Symbol 57 MovieClip Frame 2 (8 B)
stop();
Symbol 57 MovieClip Frame 3 (8 B)
stop();
Symbol 60 MovieClip Frame 18 (31 B)
_root.clock = _root.clock + 1;
Symbol 68 Button (52 B)
on (release) {
stopAllSounds();
gotoAndPlay (2);
}