Frame 2
gotoAndPlay (4);
Frame 4
function init() {
depth = 1;
score = 0;
delay = 1;
this.node._visible = false;
this.node.stop();
}
function goballs() {
delay++;
if (delay == 50) {
delay = 1;
if (5 >= depth) {
newnode = "node" + depth;
this.node.duplicateMovieClip(newnode, depth++);
}
}
}
function looper() {
if (score == 5) {
final.start();
stop();
} else {
gotoAndPlay(_currentframe - 1);
}
}
function clearbouncers() {
score = 0;
node1.removeMovieClip();
node2.removeMovieClip();
node3.removeMovieClip();
node4.removeMovieClip();
node5.removeMovieClip();
gotoAndPlay(_currentframe - 1);
}
boing = new Sound();
boing.attachSound("boing");
burns = new Sound();
burns.attachSound("burns");
completed = new Sound();
completed.attachSound("completed");
electro = new Sound();
electro.attachSound("electro");
final = new Sound();
final.attachSound("finalsound");
init();
xstart = 70;
ystart = 60;
level = 0;
Frame 5
goballs();
Instance of Symbol 37 MovieClip in Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_parent.score == 5) {
this._visible = true;
}
}
Instance of Symbol 42 MovieClip in Frame 5
onClipEvent (load) {
this._x = _parent.xstart;
this._y = _parent.ystart;
}
Frame 6
looper();
Frame 8
init();
xstart = 70;
ystart = 60;
level = 1;
Frame 9
goballs();
Instance of Symbol 37 MovieClip in Frame 9
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_parent.score == 5) {
this._visible = true;
}
}
Instance of Symbol 42 MovieClip in Frame 9
onClipEvent (load) {
this._x = _parent.xstart;
this._y = _parent.ystart;
}
Frame 10
looper();
Frame 12
init();
xstart = 70;
ystart = 60;
level = 2;
Instance of Symbol 45 MovieClip "burn1" in Frame 12
onClipEvent (enterFrame) {
this._rotation = this._rotation + 36;
}
Frame 13
goballs();
Instance of Symbol 37 MovieClip in Frame 13
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_parent.score == 5) {
this._visible = true;
}
}
Instance of Symbol 42 MovieClip in Frame 13
onClipEvent (load) {
this._x = _parent.xstart;
this._y = _parent.ystart;
}
Frame 14
looper();
Frame 16
init();
xstart = 530;
ystart = 60;
level = 3;
Frame 17
goballs();
Instance of Symbol 37 MovieClip in Frame 17
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_parent.score == 5) {
this._visible = true;
}
}
Instance of Symbol 42 MovieClip in Frame 17
onClipEvent (load) {
this._x = _parent.xstart;
this._y = _parent.ystart;
}
Frame 18
looper();
Frame 20
init();
xstart = 440;
ystart = 60;
level = 4;
Instance of Symbol 45 MovieClip "burn1" in Frame 20
onClipEvent (enterFrame) {
this._rotation = this._rotation + 36;
}
Frame 21
goballs();
Instance of Symbol 37 MovieClip in Frame 21
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_parent.score == 5) {
this._visible = true;
}
}
Instance of Symbol 42 MovieClip in Frame 21
onClipEvent (load) {
this._x = _parent.xstart;
this._y = _parent.ystart;
}
Frame 22
looper();
Frame 24
init();
xstart = 440;
ystart = 60;
level = 5;
Instance of Symbol 45 MovieClip "burn1" in Frame 24
onClipEvent (enterFrame) {
this._rotation = this._rotation + 36;
}
Instance of Symbol 45 MovieClip "burn2" in Frame 24
onClipEvent (enterFrame) {
this._rotation = this._rotation + 36;
}
Frame 25
goballs();
Instance of Symbol 37 MovieClip in Frame 25
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_parent.score == 5) {
this._visible = true;
}
}
Instance of Symbol 42 MovieClip in Frame 25
onClipEvent (load) {
this._x = _parent.xstart;
this._y = _parent.ystart;
}
Frame 26
looper();
Frame 28
stop();
Instance of Symbol 45 MovieClip "burn2" in Frame 28
onClipEvent (enterFrame) {
this._rotation = this._rotation + 36;
}
Instance of Symbol 45 MovieClip "burn2" in Frame 28
onClipEvent (enterFrame) {
this._rotation = this._rotation + 36;
}
Symbol 17 MovieClip Frame 1
moviebytes = _root.getBytesTotal();
moviesize = Math.round(moviebytes / 1000);
oneper = moviebytes / 100;
_parent.stop();
Symbol 17 MovieClip Frame 2
perload = _root.getBytesLoaded() / oneper;
perloaded = Math.round(perload);
Symbol 17 MovieClip Frame 3
if (perloaded == 100) {
_parent.nextframe();
} else {
gotoAndPlay (2);
}
Symbol 28 Button
on (press) {
startDrag ("", false, 20, 20, 540, 260);
}
on (release, releaseOutside) {
this.stopDrag();
}
Symbol 30 MovieClip Frame 1
var scale = 10;
this._xscale = scale;
this._yscale = scale;
this._x = _parent.xstart;
this._y = _parent.ystart;
vx = 0;
vy = 3;
Symbol 30 MovieClip Frame 2
vy = vy + 0.6;
this._x = this._x + vx;
this._y = this._y + vy;
if ((300 < this._y) or (this._y < 20)) {
_parent.electro.start();
this.removeMovieClip();
}
if (this._x < 20) {
vx = (-vx) * 0.9;
this._x = 0;
this.removeMovieClip();
} else if (580 < this._x) {
vx = (-vx) * 0.9;
this.removeMovieClip();
this._x = 600;
}
if (hitTest(_parent.targetship)) {
_parent.targetship.play();
_parent.score++;
_parent.completed.start();
this.removeMovieClip();
}
if (hitTest(_parent.burn1)) {
_parent.burns.start();
this.removeMovieClip();
}
if (hitTest(_parent.burn2)) {
_parent.burns.start();
this.removeMovieClip();
}
if (hitTest(_parent.damper1)) {
_parent.boing.start();
vy = (-vy) * 0.5;
vx = (this._x - _parent.damper1._x) / 15;
this._y = _parent.damper1._y - (this._height / 2);
}
loop = 1;
while (5 >= loop) {
if (hitTest(eval ("_parent.mousecatch" + loop))) {
_parent.boing.start();
vy = (-vy) * 1.01;
vx = (this._x - eval ("_parent.mousecatch" + loop)._x) / 15;
this._y = eval ("_parent.mousecatch" + loop)._y - (this._height / 2);
}
loop++;
}
Symbol 30 MovieClip Frame 3
gotoAndPlay (2);
Symbol 36 Button
on (release) {
_root.gotoandplay(_root._currentframe + 2);
}
Symbol 39 Button
on (release) {
clearbouncers();
}
Symbol 41 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 1
stop();
Symbol 47 Button
on (press) {
startDrag ("", false, 60, 20, 580, 260);
}
on (release, releaseOutside) {
this.stopDrag();
}
Symbol 51 Button
on (press) {
startDrag ("", false, 40, 20, 560, 260);
}
on (release, releaseOutside) {
this.stopDrag();
}
Symbol 55 Button
on (release) {
gotoAndPlay (1);
}