Instance of Symbol 3 MovieClip in Frame 1
onClipEvent (enterFrame) {
_root.toi = Math.floor((100 * _root.getBytesLoaded()) / _root.getBytesTotal());
trace(_root.toi);
gotoAndStop(_root.toi);
if (_root.toi == 100) {
_root.nextframe();
}
}
Frame 2
themes.gotoandstop(2);
hit = 0;
miss = 0;
stop();
Instance of Symbol 28 MovieClip "ball" in Frame 3
onClipEvent (load) {
rotie = random(10);
rightval = random(10);
upval = random(10);
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + rotie;
if (this._x > 400) {
_root.bad.gotoandplay(2);
_root.miss++;
rotie = rotie + (random(10) - random(10));
right = 0;
}
if (this._x < 0) {
_root.bad.gotoandplay(2);
_root.miss++;
rotie = rotie + (random(10) - random(10));
right = 1;
}
if (this._y > 400) {
_root.bad.gotoandplay(2);
_root.miss++;
rotie = rotie + (random(10) - random(10));
up = 1;
}
if (this._y < 0) {
_root.bad.gotoandplay(2);
_root.miss++;
rotie = rotie + (random(10) - random(10));
up = 0;
}
if (right) {
this._x = this._x + rightval;
} else {
this._x = this._x - rightval;
}
if (up) {
this._y = this._y - upval;
} else {
this._y = this._y + upval;
}
}
Instance of Symbol 31 MovieClip "b" in Frame 3
onClipEvent (load) {
gotoAndStop (2);
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (this.hittest(_parent.ball)) {
if (tail) {
} else {
_root.good.gotoandplay(2);
tail = 1;
_root.hit++;
_parent.ball.up = 1;
_parent.ball.rightval = rightval;
}
} else {
tail = 0;
}
if (key.isdown(key.right)) {
this._x = this._x + 5;
rightval = 5;
} else {
rightval = 0;
}
if (key.isdown(key.left)) {
this._x = this._x - 5;
rightval = 5;
} else {
rightval = 0;
}
}
}
Instance of Symbol 31 MovieClip "t" in Frame 3
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (this.hittest(_parent.ball)) {
if (tail) {
} else {
_root.good.gotoandplay(2);
tail = 1;
_root.hit++;
_parent.ball.up = 0;
_parent.ball.rightval = rightval;
}
} else {
tail = 0;
}
if (key.isdown(key.right)) {
this._x = this._x + 5;
rightval = 5;
} else {
rightval = 0;
}
if (key.isdown(key.left)) {
this._x = this._x - 5;
rightval = 5;
} else {
rightval = 0;
}
}
}
Instance of Symbol 31 MovieClip "l" in Frame 3
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (this.hittest(_parent.ball)) {
if (tail) {
} else {
_root.good.gotoandplay(2);
tail = 1;
_root.hit++;
_parent.ball.right = 1;
_parent.ball.upval = upval;
}
} else {
tail = 0;
}
if (key.isdown(key.up)) {
this._y = this._y - 5;
upval = 5;
} else {
upval = 0;
}
if (key.isdown(key.down)) {
this._y = this._y + 5;
upval = 5;
} else {
upval = 0;
}
}
}
Instance of Symbol 31 MovieClip "r" in Frame 3
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
if (this.hittest(_parent.ball)) {
if (tail) {
} else {
_root.good.gotoandplay(2);
tail = 1;
_root.hit++;
_parent.ball.right = 0;
_parent.ball.upval = upval;
}
} else {
tail = 0;
}
if (key.isdown(key.down)) {
this._y = this._y + 5;
upval = 5;
} else {
upval = 0;
}
if (key.isdown(key.up)) {
this._y = this._y - 5;
upval = 5;
} else {
upval = 0;
}
}
}
Frame 4
if (hithi < hit) {
hithi = hit;
}
if (key.isdown(key.space)) {
if (secyn) {
} else {
if (r._currentframe == 2) {
r.gotoandstop(1);
b.gotoandstop(2);
} else if (b._currentframe == 2) {
b.gotoandstop(1);
l.gotoandstop(2);
} else if (l._currentframe == 2) {
l.gotoandstop(1);
t.gotoandstop(2);
} else if (t._currentframe == 2) {
t.gotoandstop(1);
r.gotoandstop(2);
}
secyn = 1;
}
} else {
secyn = 0;
}
if (miss <= hit) {
gotoAndPlay (3);
} else {
gotoAndStop (7);
}
Symbol 3 MovieClip Frame 1
stop();
Symbol 8 Button
on (press) {
gotoAndStop (5);
}
Symbol 9 Button
on (press) {
gotoAndStop (6);
}
Symbol 12 Button
on (press) {
gotoAndPlay (3);
}
Symbol 18 Button
on (press) {
getURL ("http://www.getlotsofcash.com", "_blank");
}
Symbol 25 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 45 Button
on (press) {
gotoAndStop (2);
}