Frame 1
function percent() {
a = getBytesLoaded();
b = getBytesTotal();
c = Math.ceil((a / b) * 100) + "%";
}
function highQuality() {
_quality = "high";
}
function mediumQuality() {
_quality = "medium";
}
function lowQuality() {
_quality = "low";
}
stop();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
onEnterFrame = percent;
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
var lowQ = new ContextMenuItem("High Quality", highQuality);
var mediumQ = new ContextMenuItem("Medium Quality", mediumQuality);
var highQ = new ContextMenuItem("Low Quality", lowQuality);
newMenu.customItems.push(highQ, mediumQ, lowQ);
_root.menu = newMenu;
Frame 2
stop();
Frame 3
orbs = 0;
Frame 4
orbs = 10;
stop();
Instance of Symbol 46 MovieClip "coin2" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball)) {
this.play();
}
}
Instance of Symbol 46 MovieClip "coin1" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball)) {
this.play();
}
}
Instance of Symbol 46 MovieClip "coin3" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball)) {
this.play();
}
}
Instance of Symbol 46 MovieClip "coin4" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball)) {
this.play();
}
}
Instance of Symbol 46 MovieClip "coin5" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball)) {
this.play();
}
}
Instance of Symbol 46 MovieClip "coin9" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball)) {
this.play();
}
}
Instance of Symbol 46 MovieClip "coin8" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball)) {
this.play();
}
}
Instance of Symbol 46 MovieClip "coin6" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball)) {
this.play();
}
}
Instance of Symbol 46 MovieClip "coin10" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball)) {
this.play();
}
}
Instance of Symbol 46 MovieClip "coin7" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball)) {
this.play();
}
}
Instance of Symbol 65 MovieClip "spiralvoid" in Frame 4
onClipEvent (enterFrame) {
this._rotation = this._rotation + 20;
}
Instance of Symbol 46 MovieClip "coin11" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball)) {
this.play();
}
}
Instance of Symbol 46 MovieClip "coin12" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball)) {
this.play();
}
}
Instance of Symbol 46 MovieClip "coin13" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball)) {
this.play();
}
}
Instance of Symbol 46 MovieClip "coin14" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball)) {
this.play();
}
}
Instance of Symbol 46 MovieClip "coin15" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball)) {
this.play();
}
}
Instance of Symbol 67 MovieClip "bouncyball" in Frame 4
onClipEvent (load) {
xspeed = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
_parent.moveground._x = _parent.moveground._x - xspeed;
_parent.moveground2._x = _parent.moveground2._x - xspeed;
_parent.moveground3._x = _parent.moveground3._x - xspeed;
_parent.moveground4._x = _parent.moveground4._x - xspeed;
_parent.appear._x = _parent.appear._x - xspeed;
_parent.moveground6._x = _parent.moveground6._x - xspeed;
_parent.lamp._x = _parent.lamp._x - xspeed;
_parent.light._x = _parent.light._x - xspeed;
_parent.lever._x = _parent.lever._x - xspeed;
_parent.lever2._x = _parent.lever2._x - xspeed;
_parent.moving._x = _parent.moving._x - xspeed;
_parent.coin1._x = _parent.coin1._x - xspeed;
_parent.coin2._x = _parent.coin2._x - xspeed;
_parent.coin3._x = _parent.coin3._x - xspeed;
_parent.coin4._x = _parent.coin4._x - xspeed;
_parent.coin5._x = _parent.coin5._x - xspeed;
_parent.coin6._x = _parent.coin6._x - xspeed;
_parent.coin7._x = _parent.coin7._x - xspeed;
_parent.coin8._x = _parent.coin8._x - xspeed;
_parent.coin9._x = _parent.coin9._x - xspeed;
_parent.coin10._x = _parent.coin10._x - xspeed;
_parent.coin11._x = _parent.coin11._x - xspeed;
_parent.coin12._x = _parent.coin12._x - xspeed;
_parent.coin13._x = _parent.coin13._x - xspeed;
_parent.coin14._x = _parent.coin14._x - xspeed;
_parent.coin15._x = _parent.coin15._x - xspeed;
_parent.spiralvoid._x = _parent.spiralvoid._x - xspeed;
_parent.spiralvoid2._x = _parent.spiralvoid2._x - xspeed;
_parent.end1._x = _parent.end1._x - xspeed;
_parent.moveground7._x = _parent.moveground7._x - xspeed;
xspeed = xspeed * 0.99;
if (Key.isDown(37)) {
xspeed = xspeed - 0.3;
}
if (Key.isDown(39)) {
xspeed = xspeed + 0.3;
}
if (xspeed > 5) {
xspeed = 5;
}
if (xspeed < -5) {
xspeed = -5;
}
if (this.hitTest(_parent.leftbound)) {
xspeed = xspeed - (xspeed * 2.25);
}
if (this.hitTest(_parent.rightbound)) {
xspeed = xspeed - (xspeed * 2.25);
}
if (_parent.bouncyball.hitTest(_parent.goUp)) {
_parent._y = _parent._y + 10;
_parent.goUp._y = _parent.goUp._y - 10;
_parent.leftbound._y = _parent.leftbound._y - 10;
_parent.rightbound._y = _parent.rightbound._y - 10;
_parent.score._y = _parent.score._y - 10;
_parent.bg._y = _parent.bg._y - 10;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ground)) {
this.gotoAndPlay(1);
}
if (this.hitTest(_parent.moveground)) {
this.gotoAndPlay(1);
}
if (this.hitTest(_parent.moveground2)) {
this.gotoAndPlay(1);
}
if (this.hitTest(_parent.moveground3)) {
this.gotoAndPlay(1);
}
if (this.hitTest(_parent.moveground4)) {
this.gotoAndPlay(1);
}
if (this.hitTest(_parent.appear)) {
this.gotoAndPlay(1);
}
if (this.hitTest(_parent.ground2)) {
this.gotoAndPlay(1);
}
if (this.hitTest(_parent.moveground6)) {
this.gotoAndPlay(1);
}
if (this.hitTest(_parent.ground3)) {
this.gotoAndPlay(1);
}
if (this.hitTest(_parent.light)) {
this.gotoAndPlay(5);
}
if (this.hitTest(_parent.lever)) {
_parent.lever.play();
_parent.moving.play();
}
if (this.hitTest(_parent.lever2)) {
_parent.lever2.play();
_parent.appear.play();
}
if (this.hitTest(_parent.moving)) {
this.gotoAndPlay(1);
}
if (this.hitTest(_parent.moveground7)) {
this.gotoAndPlay(1);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
if (_parent.bouncyball._y < -550) {
_parent._y = _parent._y - 750;
_parent.goUp._y = _parent.goUp._y + 750;
_parent.leftbound._y = _parent.leftbound._y + 750;
_parent.rightbound._y = _parent.rightbound._y + 750;
_parent.score._y = _parent.score._y + 750;
_parent.bouncyball._y = _parent.bouncyball._y + 750;
_parent.bg._y = _parent.bg._y + 750;
_parent.lever.gotoAndStop(1);
_parent.moving.gotoAndStop(1);
_parent.lever2.gotoAndStop(1);
_parent.appear.gotoAndStop(1);
}
}
}
Instance of Symbol 65 MovieClip "spiralvoid2" in Frame 4
onClipEvent (enterFrame) {
this._rotation = this._rotation - 11;
}
Instance of Symbol 70 MovieClip "end1" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_parent.bouncyball) && (_root.orbs < 15)) {
_parent.reminder.play();
}
if (this.hitTest(_parent.bouncyball) && (_root.orbs >= 15)) {
_parent.gotoAndStop("win");
}
}
Frame 5
stopAllSounds();
stop();
Symbol 4 MovieClip Frame 1
function preload() {
newPercLoaded = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
lb._xscale = (percLoaded = percLoaded + ((newPercLoaded - percLoaded) * 0.2));
if ((percLoaded > 99.9) && (newPercLoaded == 100)) {
stop();
_root.nextFrame();
delete this.onEnterFrame;
}
}
_root.stop();
var percLoaded = 0;
var newPercLoaded;
onEnterFrame = preload;
Symbol 16 Button
on (release) {
stopAllSounds();
play();
}
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 5
stop();
Symbol 34 MovieClip Frame 6
gotoAndStop (5);
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 30
gotoAndPlay (2);
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 11
gotoAndStop (10);
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 2
_parent.score.nextFrame();
Symbol 46 MovieClip Frame 7
stop();
Symbol 46 MovieClip Frame 8
gotoAndStop (7);
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
_parent.orbs = 1;
Symbol 63 MovieClip Frame 3
_parent.orbs = 2;
Symbol 63 MovieClip Frame 4
_parent.orbs = 3;
Symbol 63 MovieClip Frame 5
_parent.orbs = 4;
Symbol 63 MovieClip Frame 6
_parent.orbs = 5;
Symbol 63 MovieClip Frame 7
_parent.orbs = 6;
Symbol 63 MovieClip Frame 8
_parent.orbs = 7;
Symbol 63 MovieClip Frame 9
_parent.orbs = 8;
Symbol 63 MovieClip Frame 10
_parent.orbs = 9;
Symbol 63 MovieClip Frame 11
_parent.orbs = 10;
Symbol 63 MovieClip Frame 12
_parent.orbs = 11;
Symbol 63 MovieClip Frame 13
_parent.orbs = 12;
Symbol 63 MovieClip Frame 14
_parent.orbs = 13;
Symbol 63 MovieClip Frame 15
_parent.orbs = 14;
Symbol 63 MovieClip Frame 16
_parent.orbs = 15;
Symbol 63 MovieClip Frame 17
gotoAndStop (16);
Symbol 67 MovieClip Frame 2
_parent.bouncyball._y = _parent.bouncyball._y - 20;
Symbol 67 MovieClip Frame 3
_parent.bouncyball._y = _parent.bouncyball._y - 17;
Symbol 67 MovieClip Frame 4
_parent.bouncyball._y = _parent.bouncyball._y - 14;
Symbol 67 MovieClip Frame 5
_parent.bouncyball._y = _parent.bouncyball._y - 11;
Symbol 67 MovieClip Frame 6
_parent.bouncyball._y = _parent.bouncyball._y - 8;
Symbol 67 MovieClip Frame 7
_parent.bouncyball._y = _parent.bouncyball._y - 5;
Symbol 67 MovieClip Frame 8
_parent.bouncyball._y = _parent.bouncyball._y - 2;
Symbol 67 MovieClip Frame 11
_parent.bouncyball._y = _parent.bouncyball._y + 1;
Symbol 67 MovieClip Frame 12
_parent.bouncyball._y = _parent.bouncyball._y + 2;
Symbol 67 MovieClip Frame 13
_parent.bouncyball._y = _parent.bouncyball._y + 3;
Symbol 67 MovieClip Frame 14
_parent.bouncyball._y = _parent.bouncyball._y + 4;
Symbol 67 MovieClip Frame 15
_parent.bouncyball._y = _parent.bouncyball._y + 5;
Symbol 67 MovieClip Frame 16
_parent.bouncyball._y = _parent.bouncyball._y + 6;
Symbol 67 MovieClip Frame 17
_parent.bouncyball._y = _parent.bouncyball._y + 7;
Symbol 67 MovieClip Frame 18
_parent.bouncyball._y = _parent.bouncyball._y + 8;
Symbol 67 MovieClip Frame 19
_parent.bouncyball._y = _parent.bouncyball._y + 9;
Symbol 67 MovieClip Frame 20
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 21
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 22
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 23
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 24
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 25
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 26
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 27
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 28
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 29
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 30
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 31
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 32
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 33
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 34
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 35
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 36
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 37
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 38
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 39
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 40
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 41
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 42
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 43
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 44
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 45
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 46
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 47
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 48
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 49
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 50
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 51
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 52
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 53
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 54
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 55
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 56
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 57
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 58
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 59
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 60
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 61
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 62
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 63
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 64
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 65
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 66
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 67
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 68
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 69
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 70
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 71
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 72
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 73
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 74
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 75
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 76
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 77
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 78
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 79
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 80
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 81
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 82
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 83
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 84
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 85
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 86
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 87
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 88
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 89
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 90
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 91
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 92
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 93
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 94
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 95
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 96
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 97
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 98
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 99
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 100
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 101
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 102
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 103
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 104
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 105
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 106
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 107
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 108
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 109
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 110
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 111
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 67 MovieClip Frame 112
_parent.bouncyball._y = _parent.bouncyball._y + 10;
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 3
if (_parent.bouncyball.hitTest(_parent.spiralvoid)) {
gotoAndPlay (2);
} else {
gotoAndStop (1);
}