Combined Code
frame 1 {
_root.val = 10;
_root.valy = 5;
_root.score = 0;
}
movieClip 5 {
frame 1 {
stop();
}
frame 4 {
tellTarget ('_root') {
gotoAndStop(4);
}
}
}
instance hit of movieClip 5 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
}
}
}
instance hit4 of movieClip 5 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
removeMovieClip(_root.bal);
gotoAndPlay(4);
}
}
}
movieClip 8 {
}
instance bat of movieClip 8 {
onClipEvent (load) {
startDrag('', true, 265, 330, 435, 330);
Mouse.hide();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = -15;
tellTarget ('_root.bal') {
play();
}
}
}
}
instance hit2 of movieClip 5 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.val = random(15);
}
}
}
instance hit3 of movieClip 5 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.val = -random(15);
}
}
}
movieClip 11 {
frame 1 {
stop();
}
}
instance bal of movieClip 11 {
onClipEvent (enterFrame) {
eval(_root.bal)._x = (eval(this))._x + _root.val;
eval(_root.bal)._y = (eval(this))._y + _root.valy;
}
}
movieClip 15 {
frame 16 {
removeMovieClip(this);
}
}
movieClip 17 {
frame 1 {
stop();
}
}
button 20 {
on (release) {
getURL('http://www.luxsky.com', '_blank');
}
}
frame 2 {
++i;
speed = 9;
_root.fric._visible = 0;
_root.fric.duplicateMovieClip('fric' + i, i);
_root['fric' + i]._x = _root.bal._x;
_root['fric' + i]._y = _root.bal._y;
if (_root.score == 20) {
eval(_root.bat)._width = (eval(_root.bat))._width - 10;
tellTarget ('_root.leve') {
play();
}
gotoAndPlay(1);
}
}
movieClip 23 {
frame 1 {
stop();
}
frame 7 {
_root.score += 1;
_root.scorereal += 1;
stop();
}
}
instance blu2 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu1 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu3 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu5 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu4 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu7 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu6 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu8 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu10 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu9 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu12 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu11 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu13 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu15 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu14 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu17 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu16 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu18 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu20 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
instance blu19 of movieClip 23 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal)) {
_root.valy = 15;
tellTarget ('this') {
play();
}
}
}
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
Mouse.show();
}
button 24 {
on (release) {
gotoAndPlay(1);
}
on (release) {
_root.scorereal = 0;
}
}