ࡱ> Root Entryp|YrRASH uContents^+-Page 2 KPage 1 2   E, -FGHIJKLMNOPQRSTUVWXYZ[\]_`abcdefghijklmnopqrstRoot Entryp|YrRASHQgContents0+-Page 2 KPage 12  ,  !"#$%&'()*+.-/123456789:;<=>?@ABCD|}Symbol 6Symbol 5 Symbol 10([Symbol 9 !Symbol 8NSymbol 7 =Symbol 14DSymbol 13>PSymbol 126Symbol 11.  "#$%&')*+,-/012345789:;<=?@ABCEFGHIJLMNOPQRSTUVWXYZCPicPage CPicLayer CPicFrameCPicText hV0T@_root.theScoreArial Rounded MT Bold"(?%; Layer 1OCPicPage CPicLayer CPicFrameCPicTexextField3 Arial3(Play Again?0008?8000? Layer 1OCPicPage CPicLayer CPicFrame CPicShat 8T@_root.ballsLeftArial Rounded MT Bold"(?]n Layer 1OCPicPage CPicLayer CPicFrameCPicText  $.  TSymbol 6Symbol 5 CPicPage CPicLayer CPicFramefff7=N 0A>0M?#H bgO CPicSpriteg  g 7d7g(onClipEvent (load) { startX = this._x }tile29 , ,7d7r)onClCPicPage CPicLayer CPicFrameCPicText TextField6Arial(or?Layer 1OCPicPage CPicLayer CPicFrameCPicText  TextField5 Arial(use mouse? 00`0p?Layer 1OCPicPage CPicLayer CPicFrameCPicTextz  TextField7Arial(use arrow keys? 00h0?Layer 1OCPicPage CPicLayer CPicFrame CPicShapefs0000?l= Layer 1OCPicPage CPicLayer CPicFrame CPicShapeB fWhb()b9a()))b9a܀5€SS?, Layer 1OCPicPage CPicLayer CPicFrame CPicSpritebb  CPicButtonb b  ;on (release) { useMouseOn = 1; gotoAndPlay ("CPicPage CPicLayer CPicFrame CPicShapeUf+++g<f++*+g<f*?" Layer 1Ope CPicSymbol  a a   TW))?J Layer 1OCPicPage CPicLayer CPicFramefff7=N 0A>0M?#H bgO CPicSpriteg  g 7d7g(onClipEvent (load) { startX = this._x }tile29 , ,7d7r)onClipEvent (load) { startX = this._x; }tile30 2 , 2 ,7d7Ri)onClipEvent (load) { startX = this._x; }tile31 , ,7d7_)onClipEvent (load) { startX = this._x; }tile32  ,  ,dI)onClipEvent (load) { startX = this._x; }tile33 , ,7d7m)onClipEvent (load) { startX = this._x; }tile34 , ,f3df3Z)onClipEvent (load) { startX = this._x; }tile35 D D@d@A)onClipEvent (load) { startX = this._x; }tile22  @d@&)onClipEvent (load) { startX = this._x; }tile23 2  2 @d@)onClipEvent (load) { startX = this._x; }tile24  @d@ )onClipEvent (load) { startX = this._x; }tile25    @d@.)onClipEvent (load) { startX = this._x; }tile26  @d@)onClipEvent (load) { startX = this._x; }tile27  @d@<)onClipEvent (load) { startX = this._x; }tile28 DK DK 'd'~)onClipEvent (load) { startX = this._x; }tile15 K K d 9)onClipEvent (load) { startX = this._x; }tile16 2 K 2 K 'd'>)onClipEvent (load) { startX = this._x; }tile17 K K d)onClipEvent (load) { startX = this._x; }tile18  K  K 'd'$)onClipEvent (load) { startX = this._x; }tile19 K K 'd'^0)onClipEvent (load) { startX = this._x; }tile20 K K 'd' D)onClipEvent (load) { startX = this._x; }tile21 D D dI)onClipEvent (load) { startX = this._x; }tile8   dM)onClipEvent (load) { startX = this._x; }tile9 2  2  dM)onClipEvent (load) { startX = this._x; }tile10   dG)onClipEvent (load) { startX = this._x; }tile11     dT)onClipEvent (load) { startX = this._x; }tile12   d9)onClipEvent (load) { startX = this._x; }tile13   d-)onClipEvent (load) { startX = this._x; }tile14 D D M)onClipEvent (load) { startX = this._x; }tile1   M)onClipEvent (load) { startX = this._x; }tile2 2 2 Cd)onClipEvent (load) { startX = this._x; }tile3   f+onClipEvent (load) { startX = this._x; }tile4     B)onClipEvent (load) { startX = this._x; }tile5   &)onClipEvent (load) { startX = this._x; }tile6   p)onClipEvent (load) { startX = this._x; }tile7? bricksO  {$  {$d}v/onClipEvent (enterFrame) { if(_root.gameOn){ if(_root.useMouseOn){ this._x = _root._xmouse; }else { if(Key.isDown(Key.LEFT)){ this._x -= 15; }else if(Key.isDown(Key.RIGHT)){ this._x += 15; } } } if(this._x < 0){ this._x = 0; }else if(this._x > 400){ this._x = 400; } }paddle?Zz paddleOO } }8  CPicText \ TextField10 Arial Rounded MT Bold"(Lives Left:? E ScoreO? CPicButton_ _k intro1 4 @ %f @Arial8"(Final Score4 8 5 @_root.theScoreArial Rounded MT Bold"(8?c textO =$ =$d ;2ball4  \Arial Rounded MT Bold"(http://www.matthewdavid.wsMatthewdavid.ws?EN ballOO? &Mouse.hide(); gameOn = 1; theScore = 0; gBallBaseLoc = [200, 300]; gThePaddle = [_root["paddle"],_root["paddle2"]]; gGameRect = [0, 0, 400, 500]; gHMax = pGameRect[2]-5; //Define the number of tiles on the page gTileNum = 36; gTargetList = []; maketargetList(gTileNum); //Define the number of tiles on the page theNumberOfBalls = 1; theCurBallNum = 1; //This is a pseudo property list //This allows you to add tiles that increase the number of ball on the stage by one theBallsList = new newBallList(theNumberOfBalls); ballsLeft = 2; xtraBallList = ["tile16", "tile18", "tile33", "Tile36"]; _root.resetTiles(); function moveTheBalls () { for (x=1; x<=theNumberOfBalls; x++) { thisBall = theBallsList["ball"+x]; if (!thisBall == 0) { thisBall.moveBall(); } } } function newBallList (startBallNum) { this["ball"+startBallNum] = new newBall("ball"+startBallNum); } function addNewBall () { theNumberOfBalls++; theCurBallNum++; theBallsList["ball"+theNumberOfBalls] = new newBall("ball"+theNumberOfBalls); } function maketargetList (numOfTiles) { for (i=0; i 0) { this.paddleHit(thePaddle); } } //check if player misses the ball if (this.MovieClip._y>(gGameRect[3]+20)) { theBallsList[this.name] = 0; removeMovieClip(this.MovieClip); theCurBallNum--; if (theCurBallNum<=0) { ballsLeft--; if (ballsLeft<0) { ballsLeft = 0; gameOn = 0; gotoAndStop (5); } else { addNewBall(); } } } //check if ball hits sides if (this.MovieClip._xgGameRect[2]) { this.flipX(); } } newBall.prototype.serveBall = function () { this.MovieClip._x = gBallBaseLoc[0]; this.MovieClip._y = gBallBaseLoc[1]; this.deltaX = getRandom(-5, 5); this.deltaY = -10; } newBall.prototype.flipY = function () { this.deltaY *= -1; } newBall.prototype.flipX = function () { this.deltaX *= -1; } newBall.prototype.paddleHit = function (thePaddle) { this.deltaX = (this.MovieClip._x - thePaddle._x)/4; this.flipY(); this.MovieClip._y = Math.min(this.MovieClip._y, (thePaddle._y)+10); } //Balls increase in speed by 1 pixel everytime they have hit 4 tiles newBall.prototype.increaseSpeed = function(){ if(this.deltaY < -18 || this.deltaY > 18){ //do nothing; }else{ this.hitNum ++; if(this.hitNum > 3){ this.hitNum = 0; if(this.deltaY > 0){ this.deltaY ++; }else{ this.deltaY --; } } } } function resetGame () { maketargetList(gTileNum); resetTiles(); } function resetTiles () { for (i=0; i)onClipEvent (load) { startX = this._x; }tile17 K K d)onClipEvent (load) { startX = this._x; }tile18  K  K 'd'$)onClipEvent (load) { startX = this._x; }tile19 K K 'd'^0)onClipEvent (load) { startX = this._x; }tile20 K K 'd' D)onClipEvent (load) { startX = this._x; }tile21 D D dI)onClipEvent (load) { startX = this._x; }tile8   dM)onClipEvent (load) { startX = this._x; }tile9 2  2  dM)onClipEvent (load) { startX = this._x; }tile10   dG)onClipEvent (load) { startX = this._x; }tile11     dT)onClipEvent (load) { startX = this._x; }tile12   d9)onClipEvent (load) { startX = this._x; }tile13   d-)onClipEvent (load) { startX = this._x; }tile14 D D M)onClipEvent (load) { startX = this._x; }tile1   M)onClipEvent (load) { startX = this._x; }tile2 2 2 Cd)onClipEvent (load) { startX = this._x; }tile3   f+onClipEvent (load) { startX = this._x; }tile4     B)onClipEvent (load) { startX = this._x; }tile5   &)onClipEvent (load) { startX = this._x; }tile6   p)onClipEvent (load) { startX = this._x; }tile7? bricksO  {$  {$dZz/onClipEvent (enterFrame) { if(_root.gameOn){ if(_root.useMouseOn){ this._x = _root._xmouse; }else { if(Key.isDown(Key.LEFT)){ this._x -= 15; }else if(Key.isDown(Key.RIGHT)){ this._x += 15; } } } if(this._x < 0){ this._x = 0; }else if(this._x > 400){ this._x = 400; } }paddle?] paddleOO } } E  %;CPicText \ TextField10 Arial Rounded MT Bold"(Lives Left:?}v ScoreO?]n CPicButton_ _c intro1 4 @ %f @Arial8"(Final Score4 8 5 @_root.theScoreArial Rounded MT Bold"(? textO =$ =$d ENball4  \Arial Rounded MT Bold"(http://www.matthewdavid.wsMatthewdavid.ws? ballOO?"Mouse.hide(); gameOn = 1; theScore = 0; gBallBaseLoc = [200, 300]; gThePaddle = [_root["paddle"],_root["paddle2"]]; gGameRect = [0, 0, 400, 500]; gHMax = pGameRect[2]-5; //Define the number of tiles on the page gTileNum = 36; gTargetList = []; maketargetList(gTileNum); //Define the number of tiles on the page theNumberOfBalls = 1; theCurBallNum = 1; //This is a pseudo property list //This allows you to add tiles that increase the number of ball on the stage by one theBallsList = new newBallList(theNumberOfBalls); ballsLeft = 2; xtraBallList = ["tile16", "tile18", "tile33", "Tile36"]; _root.resetTiles(); function moveTheBalls () { for (x=1; x<=theNumberOfBalls; x++) { thisBall = theBallsList["ball"+x]; if (!thisBall == 0) { thisBall.moveBall(); } } } function newBallList (startBallNum) { this["ball"+startBallNum] = new newBall("ball"+startBallNum); } function addNewBall () { theNumberOfBalls++; theCurBallNum++; theBallsList["ball"+theNumberOfBalls] = new newBall("ball"+theNumberOfBalls); } function maketargetList (numOfTiles) { for (i=0; i 0) { this.paddleHit(thePaddle); } } //check if player misses the ball if (this.MovieClip._y>(gGameRect[3]+20)) { theBallsList[this.name] = 0; removeMovieClip(this.MovieClip); theCurBallNum--; if (theCurBallNum<=0) { ballsLeft--; if (ballsLeft<0) { ballsLeft = 0; gameOn = 0; gotoAndStop (5); } else { addNewBall(); } } } //check if ball hits sides if (this.MovieClip._xgGameRect[2]) { this.flipX(); } } newBall.prototype.serveBall = function () { this.MovieClip._x = gBallBaseLoc[0]; this.MovieClip._y = gBallBaseLoc[1]; this.deltaX = getRandom(-5, 5); this.deltaY = -10; } newBall.prototype.flipY = function () { this.deltaY *= -1; } newBall.prototype.flipX = function () { this.deltaX *= -1; } newBall.prototype.paddleHit = function (thePaddle) { this.deltaX = (this.MovieClip._x - thePaddle._x)/4; this.flipY(); this.MovieClip._y = Math.min(this.MovieClip._y, (thePaddle._y)+10); } //Balls increase in speed by 1 pixel everytime they have hit 4 tiles newBall.prototype.increaseSpeed = function(){ if(this.deltaY < -18 || this.deltaY > 18){ //do nothing; }else{ this.hitNum ++; if(this.hitNum > 3){ this.hitNum = 0; if(this.deltaY > 0){ this.deltaY ++; }else{ this.deltaY --; } } } } function resetGame () { maketargetList(gTileNum); resetTiles(); } function resetTiles () { for (i=0; i