Frame 1
stop();
Frame 2
stop();
Frame 3
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndStop (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndStop (7);
}
};
Instance of Symbol 3 MovieClip [square] "pongblock" in Frame 3
onClipEvent (load) {
var xspeed = 5;
var yspeed = 5;
}
onClipEvent (enterFrame) {
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
yspeed = yspeed * -1;
}
if (this._y < 0) {
this._y = 0;
yspeed = yspeed * -1;
}
if (((this._x + this._width) < 0) || (this._x > Stage.width)) {
if (this._x > Stage.width) {
_root.leftscore++;
}
if ((this._x + this._width) < 0) {
_root.rightscore++;
}
this._x = Stage.width / 2;
xspeed = xspeed * -1;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
}
onClipEvent (enterFrame) {
if (_root.leftscore == 1) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (_root.rightscore == 11) {
gotoAndPlay (6);
}
}
Instance of Symbol 2 MovieClip [paddle] "leftpaddle" in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 5;
}
if (Key.isDown(40)) {
this._y = this._y + 5;
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 2 MovieClip [paddle] "rightpaddle" in Frame 3
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 3);
} else {
_y = (_y - 3);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Frame 4
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndStop (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndStop (7);
}
};
Instance of Symbol 3 MovieClip [square] "pongblock" in Frame 4
onClipEvent (load) {
var xspeed = 5;
var yspeed = 5;
}
onClipEvent (enterFrame) {
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
yspeed = yspeed * -1;
}
if (this._y < 0) {
this._y = 0;
yspeed = yspeed * -1;
}
if (((this._x + this._width) < 0) || (this._x > Stage.width)) {
if (this._x > Stage.width) {
_root.leftscore++;
}
if ((this._x + this._width) < 0) {
_root.rightscore++;
}
this._x = Stage.width / 2;
xspeed = xspeed * -1;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
}
Instance of Symbol 2 MovieClip [paddle] "leftpaddle" in Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 5;
}
if (Key.isDown(40)) {
this._y = this._y + 5;
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 2 MovieClip [paddle] "rightpaddle" in Frame 4
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 4);
} else {
_y = (_y - 4);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Frame 5
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndStop (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndStop (7);
}
};
Instance of Symbol 2 MovieClip [paddle] "leftpaddle" in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 4;
}
if (Key.isDown(40)) {
this._y = this._y + 4;
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 2 MovieClip [paddle] "rightpaddle" in Frame 5
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 5);
} else {
_y = (_y - 5);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
Instance of Symbol 3 MovieClip [square] "pongblock" in Frame 9
onClipEvent (load) {
var xspeed = 5;
var yspeed = 5;
}
onClipEvent (enterFrame) {
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
yspeed = yspeed * -1;
}
if (this._y < 0) {
this._y = 0;
yspeed = yspeed * -1;
}
if (((this._x + this._width) < 0) || (this._x > Stage.width)) {
if (this._x > Stage.width) {
_root.leftscore++;
}
if ((this._x + this._width) < 0) {
_root.rightscore++;
}
this._x = Stage.width / 2;
xspeed = xspeed * -1;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
}
onClipEvent (enterFrame) {
if (_root.leftscore == 1) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (_root.rightscore == 11) {
gotoAndPlay (6);
}
}
Instance of Symbol 2 MovieClip [paddle] "leftpaddle" in Frame 9
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 5;
}
if (Key.isDown(40)) {
this._y = this._y + 5;
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 2 MovieClip [paddle] "rightpaddle" in Frame 9
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 3);
} else {
_y = (_y - 3);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Instance of Symbol 48 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 48 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Instance of Symbol 49 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 49 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Frame 10
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndStop (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndStop (7);
}
};
Instance of Symbol 2 MovieClip [paddle] "rightpaddle" in Frame 10
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 4);
} else {
_y = (_y - 4);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Frame 11
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndStop (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndStop (7);
}
};
Instance of Symbol 2 MovieClip [paddle] "rightpaddle" in Frame 11
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 5);
} else {
_y = (_y - 5);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Frame 12
stop();
Frame 13
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
Instance of Symbol 3 MovieClip [square] "pongblock" in Frame 13
onClipEvent (load) {
var xspeed = 5;
var yspeed = 5;
}
onClipEvent (enterFrame) {
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
yspeed = yspeed * -1;
}
if (this._y < 0) {
this._y = 0;
yspeed = yspeed * -1;
}
if (((this._x + this._width) < 0) || (this._x > Stage.width)) {
if (this._x > Stage.width) {
_root.leftscore++;
}
if ((this._x + this._width) < 0) {
_root.rightscore++;
}
this._x = Stage.width / 2;
xspeed = xspeed * -1;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
}
onClipEvent (enterFrame) {
if (_root.leftscore == 1) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (_root.rightscore == 11) {
gotoAndPlay (6);
}
}
Instance of Symbol 2 MovieClip [paddle] "leftpaddle" in Frame 13
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 5;
}
if (Key.isDown(40)) {
this._y = this._y + 5;
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 2 MovieClip [paddle] "rightpaddle" in Frame 13
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 3);
} else {
_y = (_y - 3);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Instance of Symbol 49 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 48 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Frame 14
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
Instance of Symbol 2 MovieClip [paddle] "rightpaddle" in Frame 14
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 4);
} else {
_y = (_y - 4);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Frame 15
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
Instance of Symbol 2 MovieClip [paddle] "rightpaddle" in Frame 15
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 5);
} else {
_y = (_y - 5);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Frame 16
stop();
Frame 17
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
Instance of Symbol 3 MovieClip [square] "pongblock" in Frame 17
onClipEvent (load) {
var xspeed = 5;
var yspeed = 5;
}
onClipEvent (enterFrame) {
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
yspeed = yspeed * -1;
}
if (this._y < 0) {
this._y = 0;
yspeed = yspeed * -1;
}
if (((this._x + this._width) < 0) || (this._x > Stage.width)) {
if (this._x > Stage.width) {
_root.leftscore++;
}
if ((this._x + this._width) < 0) {
_root.rightscore++;
}
this._x = Stage.width / 2;
xspeed = xspeed * -1;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
}
onClipEvent (enterFrame) {
if (_root.leftscore == 1) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (_root.rightscore == 11) {
gotoAndPlay (6);
}
}
Instance of Symbol 2 MovieClip [paddle] "leftpaddle" in Frame 17
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 5;
}
if (Key.isDown(40)) {
this._y = this._y + 5;
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 2 MovieClip [paddle] "rightpaddle" in Frame 17
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 3);
} else {
_y = (_y - 3);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Instance of Symbol 48 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 48 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 48 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 48 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 48 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 48 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 48 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 48 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Frame 18
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
Instance of Symbol 2 MovieClip [paddle] "rightpaddle" in Frame 18
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 4);
} else {
_y = (_y - 4);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Frame 19
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
Instance of Symbol 2 MovieClip [paddle] "rightpaddle" in Frame 19
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 5);
} else {
_y = (_y - 5);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Frame 20
stop();
stop();
Frame 21
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
Instance of Symbol 83 MovieClip "pongblock" in Frame 21
onClipEvent (load) {
var xspeed = 5;
var yspeed = 5;
}
onClipEvent (enterFrame) {
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
yspeed = yspeed * -1;
}
if (this._y < 0) {
this._y = 0;
yspeed = yspeed * -1;
}
if (((this._x + this._width) < 0) || (this._x > Stage.width)) {
if (this._x > Stage.width) {
_root.leftscore++;
}
if ((this._x + this._width) < 0) {
_root.rightscore++;
}
this._x = Stage.width / 2;
xspeed = xspeed * -1;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
}
onClipEvent (enterFrame) {
if (_root.leftscore == 1) {
gotoAndPlay (5);
}
}
onClipEvent (enterFrame) {
if (_root.rightscore == 11) {
gotoAndPlay (6);
}
}
Instance of Symbol 84 MovieClip "leftpaddle" in Frame 21
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 5;
}
if (Key.isDown(40)) {
this._y = this._y + 5;
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 85 MovieClip "rightpaddle" in Frame 21
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 3);
} else {
_y = (_y - 3);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Frame 22
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
Instance of Symbol 85 MovieClip "rightpaddle" in Frame 22
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 4);
} else {
_y = (_y - 4);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Frame 23
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
Instance of Symbol 85 MovieClip "rightpaddle" in Frame 23
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 5);
} else {
_y = (_y - 5);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Frame 24
stop();
stop();
Frame 25
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
stop();
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
Instance of Symbol 105 MovieClip "pongblock" in Frame 25
onClipEvent (load) {
var xspeed = 5;
var yspeed = 5;
}
onClipEvent (enterFrame) {
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
yspeed = yspeed * -1;
}
if (this._y < 0) {
this._y = 0;
yspeed = yspeed * -1;
}
if (((this._x + this._width) < 0) || (this._x > Stage.width)) {
if (this._x > Stage.width) {
_root.leftscore++;
}
if ((this._x + this._width) < 0) {
_root.rightscore++;
}
this._x = Stage.width / 2;
xspeed = xspeed * -1;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
}
Instance of Symbol 107 MovieClip "leftpaddle" in Frame 25
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - 5;
}
if (Key.isDown(40)) {
this._y = this._y + 5;
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x + this._width;
}
}
Instance of Symbol 108 MovieClip "rightpaddle" in Frame 25
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 3);
} else {
_y = (_y - 3);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Frame 26
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
stop();
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
Instance of Symbol 108 MovieClip "rightpaddle" in Frame 26
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 4);
} else {
_y = (_y - 4);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Frame 27
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
stop();
stop();
onEnterFrame = function () {
if (leftscore > 10) {
gotoAndPlay (6);
}
};
onEnterFrame = function () {
if (rightscore > 10) {
gotoAndPlay (7);
}
};
Instance of Symbol 108 MovieClip "rightpaddle" in Frame 27
onClipEvent (enterFrame) {
if (_root.pongblock._y > (this._y + (this._height / 2))) {
_y = (_y + 5);
} else {
_y = (_y - 5);
}
if ((this._y + this._height) > Stage.height) {
this._y = Stage.height - this._height;
}
if (this._y < 0) {
this._y = 0;
}
if (this.hitTest(_root.pongblock)) {
_root.pongblock.xspeed = _root.pongblock.xspeed * -1;
_root.pongblock._x = this._x - _root.pongblock._width;
}
}
Symbol 7 Button
on (release) {
gotoAndPlay (2);
}
Symbol 9 Button
on (release) {
gotoAndPlay (8);
}
Symbol 13 Button
on (release) {
gotoAndPlay (12);
}
Symbol 15 Button
on (release) {
gotoAndPlay (16);
}
Symbol 17 Button
on (release) {
gotoAndPlay (20);
}
Symbol 19 Button
on (release) {
gotoAndPlay (24);
}
Symbol 23 Button
on (release) {
gotoAndPlay (1);
}
Symbol 26 Button
on (release) {
gotoAndPlay (3);
}
Symbol 28 Button
on (release) {
gotoAndPlay (4);
}
Symbol 30 Button
on (release) {
gotoAndPlay (5);
}
Symbol 40 Button
on (release) {
gotoAndPlay (1);
}
Symbol 43 Button
on (release) {
gotoAndPlay (9);
}
Symbol 44 Button
on (release) {
gotoAndPlay (10);
}
Symbol 45 Button
on (release) {
gotoAndPlay (11);
}
Symbol 54 Button
on (release) {
gotoAndPlay (13);
}
Symbol 55 Button
on (release) {
gotoAndPlay (14);
}
Symbol 56 Button
on (release) {
gotoAndPlay (15);
}
Symbol 64 Button
on (release) {
gotoAndPlay (17);
}
Symbol 65 Button
on (release) {
gotoAndPlay (18);
}
Symbol 66 Button
on (release) {
gotoAndPlay (19);
}
Symbol 77 Button
on (release) {
gotoAndPlay (21);
}
Symbol 79 Button
on (release) {
gotoAndPlay (22);
}
Symbol 81 Button
on (release) {
gotoAndPlay (23);
}
Symbol 93 Button
on (release) {
gotoAndPlay (25);
}
Symbol 95 Button
on (release) {
gotoAndPlay (26);
}
Symbol 97 Button
on (release) {
gotoAndPlay (27);
}