Frame 1
this.stop();
Instance of Symbol 9 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() != _root.getBytesTotal()) {
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
rate = (loaded / getTimer()) * 1000;
_root.txtPercent = Math.round((loaded / total) * 100) + " %";
_root.txtLoadingRate = int(rate) + " bps";
_root.txtLoaded = int(loaded / 1000) + " kbytes";
_root.txtRemained = int((total - loaded) / 1000) + " kbytes";
_root.txtTimeElapsed = int(getTimer() / 1000) + " sec";
_root.txtTimeRemained = int((total - loaded) / rate) + " sec";
this._xscale = (loaded / total) * 100;
} else {
_root.gotoAndPlay(2);
}
}
Frame 10
_root.xdir = 0;
_root.ydir = 0;
pw1 = 1;
pw2 = 1;
ypw = 10;
ballx = 180;
bally = 0;
state0 = 3;
state1 = 0;
endf = 0;
stopDrag();
stop();
Instance of Symbol 22 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.state1 == 0) {
if (this.hitTest(_root.ball.bball.hit3)) {
tellTarget (_root.ball) {
gotoAndStop ("ch");
};
tellTarget (_root.beep) {
gotoAndPlay (2);
};
tellTarget (_root.out) {
gotoAndPlay (2);
};
if (_root.state0 == 1) {
tellTarget (_root.lifeh) {
play();
};
tellTarget (_root.right) {
gotoAndPlay (2);
};
}
if (_root.state0 == 2) {
tellTarget (_root.lifez) {
play();
};
tellTarget (_root.left) {
gotoAndPlay (2);
};
}
}
}
}
Instance of Symbol 36 MovieClip "curi" in Frame 10
onClipEvent (mouseDown) {
tellTarget (_root.curi) {
gotoAndPlay (3);
};
}
onClipEvent (enterFrame) {
if (_root.state0 == 0) {
if (Key.isDown(32)) {
tellTarget (_root.curi) {
gotoAndPlay (8);
};
}
}
}
Instance of Symbol 50 MovieClip "enmy" in Frame 10
onClipEvent (load) {
tellTarget (_root.enmy.con) {
play();
};
}
onClipEvent (enterFrame) {
_root.enmy._x = _root.ballx;
}
Frame 11
stop();
tellTarget (_root.enmy) {
gotoAndPlay (8);
};
Frame 16
ballx = 180;
state0 = 3;
state1 = 0;
endf = 0;
stopDrag();
stop();
Frame 17
state0 = 0;
Frame 25
ballx = 180;
bally = 0;
state0 = 3;
state1 = 0;
endf = 0;
stopDrag();
stop();
Instance of Symbol 199 MovieClip "enmy" in Frame 25
onClipEvent (load) {
tellTarget (_root.enmy.con) {
play();
};
}
onClipEvent (enterFrame) {
_root.enmy._x = _root.ballx;
}
Frame 26
stop();
tellTarget (_root.enmy) {
gotoAndPlay (8);
};
Frame 31
ballx = 180;
state0 = 3;
state1 = 0;
endf = 0;
stopDrag();
stop();
Frame 32
state0 = 0;
Frame 37
stop();
Instance of Symbol 208 MovieClip "ballx" in Frame 37
onClipEvent (load) {
xdir = 0;
ydir = 0;
StartX = this._x;
StartY = this._y;
barX = _root.bar._x;
}
onClipEvent (enterFrame) {
if (xdir == 0) {
this._x = this._x + 10;
if (this._x >= 481) {
xdir = 1;
}
} else {
this._x = this._x - 10;
if (80 >= this._x) {
xdir = 0;
}
}
if (ydir == 0) {
this._y = this._y + 10;
if ((this._y >= 340) and (X == 0)) {
}
if (this._y >= 400) {
this._y = StartX;
this._x = StartY;
_root.bar._x = barX;
}
} else {
this._y = this._y - 10;
if (40 >= this._y) {
ydir = 0;
}
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.bar)) {
ydir = 1;
}
}
Instance of Symbol 214 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (_root.xdir == 0) {
_root.ball._x = _root.ball._x + _root.xpw;
if (_root.ball.hitTest(_root.rw)) {
_root.xdir = 1;
}
} else {
_root.ball._x = _root.ball._x - _root.xpw;
if (_root.ball.hitTest(_root.lw)) {
_root.xdir = 0;
}
}
if (_root.ydir == 0) {
_root.ball._y = _root.ball._y + _root.ypw;
if (600 < _root.ball._y) {
_root.ydir = 1;
}
if (_root.ball.hitTest(_root.enmy.rk)) {
_root.ydir = 1;
}
if (_root.ball.hitTest(_root.curi.rk)) {
_root.ydir = 1;
}
} else {
_root.ball._y = _root.ball._y - _root.ypw;
if (_root.ball.hitTest(_root.fw)) {
if (_root.xpw < 0) {
_root.xpw = _root.xpw - 3;
}
if (0 < _root.xpw) {
_root.xpw = _root.xpw + 3;
}
_root.ydir = 0;
tellTarget (_root.ball) {
gotoAndStop ("bkball");
};
}
}
}
onClipEvent (enterFrame) {
_root.ballx = _root.ball._x;
_root.bally = _root.ball._y;
}
Symbol 25 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 1
stop();
Instance of Symbol 31 MovieClip "rk" in Symbol 36 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.state0 == 2) {
if (this.hitTest(_root.ball.bball.hit3)) {
_root.state0 = 1;
_root.ydir = 1;
_root.pw1 = random(3) + 20;
_root.ypw = _root.pw1;
if ((_root.curi._x >= 0) && (200 >= _root.curi._x)) {
_root.xdir = 0;
_root.xpw = random(11) + 1;
}
if ((_root.curi._x >= 201) && (400 >= _root.curi._x)) {
_root.xdir = 1;
_root.xpw = random(11) + 1;
}
tellTarget (_root.ball) {
gotoAndStop ("atball");
};
}
}
}
Symbol 36 MovieClip Frame 7
gotoAndStop (1);
Symbol 36 MovieClip Frame 32
_root.state0 = 1;
_root.ydir = 1;
_root.pw1 = random(3) + 20;
_root.ypw = _root.pw1;
_root.ball._x = _root.curi._x;
_root.ball._y = _root.curi._y;
if ((_root.curi._x >= 0) && (200 >= _root.curi._x)) {
_root.xdir = 0;
_root.xpw = random(11) + 1;
}
if ((_root.curi._x >= 201) && (400 >= _root.curi._x)) {
_root.xdir = 1;
_root.xpw = random(11) + 1;
}
tellTarget (_root.ball) {
gotoAndStop ("atball");
};
Symbol 36 MovieClip Frame 36
gotoAndStop (1);
Symbol 41 MovieClip Frame 1
_root.enmy.rk._width = 0;
_root.enmy.rk._height = 0;
Symbol 41 MovieClip Frame 22
_root.enmy.rk._width = 60;
_root.enmy.rk._height = 20;
Symbol 50 MovieClip Frame 1
stop();
Instance of Symbol 39 MovieClip "rk" in Symbol 50 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.state0 == 1) {
if (this.hitTest(_root.ball.bball.hit3)) {
_root.state0 = 2;
_root.ydir = 1;
_root.pw2 = random(3) + 20;
_root.ypw = _root.pw2;
if ((_root.enmy._x >= 0) && (200 >= _root.enmy._x)) {
_root.xdir = 0;
_root.xpw = random(11) + 1;
}
if ((_root.enmy._x >= 201) && (400 >= _root.enmy._x)) {
_root.xdir = 1;
_root.xpw = random(11) + 1;
}
tellTarget (_root.enmy) {
gotoAndPlay (3);
};
tellTarget (_root.ball) {
gotoAndStop ("atball");
};
}
}
}
Symbol 50 MovieClip Frame 7
gotoAndStop (1);
Symbol 50 MovieClip Frame 39
_root.state0 = 2;
_root.ydir = 1;
_root.ball._x = _root.enmy._x;
_root.ball._y = _root.enmy._y;
_root.pw2 = random(3) + 20;
_root.ypw = _root.pw2;
if ((_root.enmy._x >= 0) && (200 >= _root.enmy._x)) {
_root.xdir = 0;
_root.xpw = random(11) + 1;
}
if ((_root.enmy._x >= 201) && (400 >= _root.enmy._x)) {
_root.xdir = 1;
_root.xpw = random(11) + 1;
}
tellTarget (_root.ball) {
gotoAndStop ("atball");
};
Symbol 50 MovieClip Frame 43
gotoAndStop (1);
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 73
if (_root.endf == 1) {
_root.state1 = 1;
tellTarget (_root.wincuri) {
gotoAndPlay (2);
};
} else if (_root.endf == 0) {
_root.gotoAndStop(16);
}
if (_root.endf == 2) {
_root.state1 = 1;
tellTarget (_root.loscuri) {
gotoAndPlay (2);
};
} else if (_root.endf == 0) {
_root.gotoAndStop(16);
}
Symbol 57 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 73
if (_root.endf == 1) {
_root.state1 = 1;
tellTarget (_root.wincuri) {
gotoAndPlay (2);
};
} else if (_root.endf == 0) {
_root.gotoAndStop(10);
}
if (_root.endf == 2) {
_root.state1 = 1;
tellTarget (_root.loscuri) {
gotoAndPlay (2);
};
} else if (_root.endf == 0) {
_root.gotoAndStop(10);
}
Symbol 60 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 2
stop();
Instance of Symbol 66 MovieClip in Symbol 70 MovieClip Frame 2
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.xdir == 0) {
_root.ball._x = _root.ball._x + Math.abs(_root.xpw);
if (_root.ball._x >= 400) {
tellTarget (_root.ball) {
gotoAndStop ("bkball");
tellTarget (_root.ball.bball) {
gotoAndPlay (1);
};
};
_root.xdir = 1;
}
} else {
_root.ball._x = _root.ball._x - Math.abs(_root.xpw);
if (0 >= _root.ball._x) {
tellTarget (_root.ball) {
gotoAndStop ("bkball");
tellTarget (_root.ball.bball) {
gotoAndPlay (1);
};
};
_root.xdir = 0;
}
}
if (_root.ydir == 0) {
_root.ball._y = _root.ball._y + _root.ypw;
if (_root.ball._y >= 560) {
}
} else {
_root.ball._y = _root.ball._y - _root.ypw;
if (100 >= _root.ball._y) {
_root.ydir = 0;
_root.xpw = random(5) + 10;
_root.ypw = _root.ypw - 4;
tellTarget (_root.ball) {
gotoAndStop ("bkball");
};
}
}
}
onClipEvent (enterFrame) {
_root.ballx = _root.ball._x;
_root.bally = _root.ball._y;
}
Symbol 70 MovieClip Frame 7
stop();
Symbol 70 MovieClip Frame 13
stop();
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 15
tellTarget (_root.nextt) {
gotoAndPlay (2);
};
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 13
tellTarget (_root.replay) {
gotoAndPlay (2);
};
stop();
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 11
stop();
Symbol 141 MovieClip Frame 21
stop();
Symbol 141 MovieClip Frame 31
stop();
Symbol 141 MovieClip Frame 41
stop();
Symbol 141 MovieClip Frame 51
stop();
Symbol 141 MovieClip Frame 61
stop();
Symbol 141 MovieClip Frame 71
stop();
Symbol 141 MovieClip Frame 81
stop();
Symbol 141 MovieClip Frame 91
stop();
Symbol 141 MovieClip Frame 101
stop();
Symbol 141 MovieClip Frame 121
_root.endf = 2;
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 11
stop();
Symbol 143 MovieClip Frame 21
stop();
Symbol 143 MovieClip Frame 31
stop();
Symbol 143 MovieClip Frame 41
stop();
Symbol 143 MovieClip Frame 51
stop();
Symbol 143 MovieClip Frame 61
stop();
Symbol 143 MovieClip Frame 71
stop();
Symbol 143 MovieClip Frame 81
stop();
Symbol 143 MovieClip Frame 91
stop();
Symbol 143 MovieClip Frame 101
stop();
Symbol 143 MovieClip Frame 121
_root.endf = 1;
stop();
Symbol 154 Button
on (release) {
startDrag (_root.curi, true, 0, 422, 400, 422);
nextFrame();
}
Symbol 168 Button
on (release) {
gotoAndPlay (1);
}
Symbol 169 Button
on (release) {
_root.gotoAndPlay("lv");
}
Symbol 170 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 8
stopDrag();
stop();
Symbol 173 Button
on (press) {
_root.gotoAndStop(25);
gotoAndStop (1);
tellTarget (_root.wincuri) {
gotoAndStop (1);
};
tellTarget (_root.lifeh) {
gotoAndStop (1);
};
tellTarget (_root.lifez) {
gotoAndStop (1);
};
}
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 8
stopDrag();
stop();
Symbol 194 MovieClip Frame 1
_root.enmy.rk._width = 0;
_root.enmy.rk._height = 0;
Symbol 194 MovieClip Frame 15
_root.enmy.rk._width = 60;
_root.enmy.rk._height = 20;
Symbol 199 MovieClip Frame 1
stop();
Instance of Symbol 193 MovieClip "rk" in Symbol 199 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.state0 == 1) {
if (this.hitTest(_root.ball.bball.hit3)) {
_root.state0 = 2;
_root.ydir = 1;
_root.pw2 = random(3) + 25;
_root.ypw = _root.pw2;
if ((_root.enmy._x >= 0) && (200 >= _root.enmy._x)) {
_root.xdir = 0;
_root.xpw = random(11) + 1;
}
if ((_root.enmy._x >= 201) && (400 >= _root.enmy._x)) {
_root.xdir = 1;
_root.xpw = random(11) + 1;
}
tellTarget (_root.enmy) {
gotoAndPlay (3);
};
tellTarget (_root.ball) {
gotoAndStop ("atball");
};
}
}
}
Symbol 199 MovieClip Frame 7
gotoAndStop (1);
Symbol 199 MovieClip Frame 39
_root.state0 = 2;
_root.ydir = 1;
_root.ball._x = _root.enmy._x;
_root.ball._y = _root.enmy._y;
_root.pw2 = random(3) + 25;
_root.ypw = _root.pw2;
if ((_root.enmy._x >= 0) && (200 >= _root.enmy._x)) {
_root.xdir = 0;
_root.xpw = random(11) + 1;
}
if ((_root.enmy._x >= 201) && (400 >= _root.enmy._x)) {
_root.xdir = 1;
_root.xpw = random(11) + 1;
}
tellTarget (_root.ball) {
gotoAndStop ("atball");
};
Symbol 199 MovieClip Frame 43
gotoAndStop (1);
Symbol 200 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 73
if (_root.endf == 1) {
_root.state1 = 1;
tellTarget (_root.wincuri) {
gotoAndPlay (2);
};
} else if (_root.endf == 0) {
_root.gotoAndStop(25);
}
if (_root.endf == 2) {
_root.state1 = 1;
tellTarget (_root.loscuri) {
gotoAndPlay (2);
};
} else if (_root.endf == 0) {
_root.gotoAndStop(25);
}
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 73
if (_root.endf == 1) {
_root.state1 = 1;
tellTarget (_root.wincuri) {
gotoAndPlay (2);
};
} else if (_root.endf == 0) {
_root.gotoAndStop(31);
}
if (_root.endf == 2) {
_root.state1 = 1;
tellTarget (_root.loscuri) {
gotoAndPlay (2);
};
} else if (_root.endf == 0) {
_root.gotoAndStop(31);
}
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 15
tellTarget (_root.replay) {
gotoAndPlay (2);
};
stop();
Symbol 206 Button
on (release) {
startDrag (_root.curi, true, 0, 414, 400, 414);
nextFrame();
}
Symbol 212 Button
on (keyPress "<Left>") {
if (_root.bar._x >= 100) {
_root.bar._x = _root.bar._x - 20;
} else {
_root.bar._x = _root.bar._x;
}
}
on (keyPress "<Right>") {
if (455 >= _root.bar._x) {
_root.bar._x = _root.bar._x + 20;
} else {
_root.bar._x = _root.bar._x;
}
}