STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228096
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

swfchan turned sixteen years old today! (5may2024)

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/89739724?noj=FRM89739724-6DC" width="1" height="1"></div>

Breakout 2D.swf

This is the info page for
Flash #25007

(Click the ID number above for more basic data on this flash file.)


Text
<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">www.2DPlay.com</A></FONT></P>

Loading

presents

normal pad + 10 pts

small pad + 10 pts

large pad + 10 pts

+ 25 pts

+ 50 pts

Breakout

by 2DPlay

Start Game

Score:

Best score:

0

0

Restart

<P ALIGN="LEFT"><FONT FACE="Arial Black" SIZE="10" COLOR="#FFFFFF"><A HREF="http://www.2dplay.com" target = "_blank">More games by 2DPlay.com</A></FONT></P>

Sound

Pause(p)

Ready

GO

Game Over

ActionScript [AS1/AS2]

Frame 1
fscommand ("showmenu", false); _root.best = 0; _root.sunet = 1; stop(); logo.onEnterFrame = function () { if (_root.getBytesLoaded() == _root.getBytesTotal()) { this.play(); } else { tgFrame = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); this.progress.gotoAndStop(tgFrame); } };
Frame 2
_root.lifes = 3; son1 = new Sound(); son1.attachSound("shot1"); son1.setVolume(50); son2 = new Sound(); son2.attachSound("shot2"); if (_root.score > _root.best) { _root.best = _root.score; } _root.score = 0; i = 1; while (i <= 150) { removeMovieClip(_root["tile" + i]); i++; }
Frame 4
_root.paused = 0; ball.vx = 7; ball.vy = 7; a = new Array(); _root.piecesOn = 0; _root.elim = 0; i = 1; while (i <= 13) { a[i] = new Array(); i++; } this.generate = function () { i = 1; while (i <= 13) { j = 1; while (j <= 9) { a[i][j] = 0; j++; } i++; } i = 1; while (i <= 13) { j = 1; while (j <= 9) { ran = random(2); if (ran == 1) { a[i][j] = random(5) + 1; } j++; } i++; } k = 0; i = 1; while (i <= 13) { j = 1; while (j <= 9) { k++; if (a[i][j] != 0) { _root.piecesOn++; duplicateMovieClip (_root.tile, "tile" + k, k); _root["tile" + k]._y = (i * 14) + 30; _root["tile" + k]._x = (j * 52) + 15; _root["tile" + k].gotoAndStop((5 * a[i][j]) - 3); } j++; } i++; } }; generate();
Instance of Symbol 33 MovieClip "pad" in Frame 4
onClipEvent (enterFrame) { this._x = _root._xmouse; if (this.hittest(_root.ball)) { if (_root.sunet == 1) { _root.son2.start(0.1, 1); } _root.ball.vy = -Math.abs(_root.ball.vy); } if (this.targ1.hittest(_root.ball)) { _root.ball.vx = _root.ball.vx - 5; } if (this.targ2.hittest(_root.ball)) { _root.ball.vx = _root.ball.vx + 5; } }
Frame 83
stop(); ball.vx = 7; ball.vy = 7;
Instance of Symbol 33 MovieClip "pad" in Frame 83
onClipEvent (enterFrame) { if (_root.paused == 0) { this._x = _root._xmouse; if (this.hittest(_root.ball)) { if (_root.sunet == 1) { _root.son2.start(0.1, 1); } _root.ball.vy = -Math.abs(_root.ball.vy); } if (this.targ1.hittest(_root.ball)) { _root.ball.vx = _root.ball.vx - 5; } if (this.targ2.hittest(_root.ball)) { _root.ball.vx = _root.ball.vx + 5; } } }
Instance of Symbol 48 MovieClip "ball" in Frame 83
onClipEvent (enterFrame) { if (_root.paused == 0) { _x = (_x + vx); _y = (_y + vy); if (this._x < 20) { vx = Math.abs(vx); if (_root.sunet == 1) { _root.son1.start(); } } if (this._x > 530) { if (_root.sunet == 1) { _root.son1.start(); } vx = -Math.abs(vx); } if (this._y < 20) { if (_root.sunet == 1) { _root.son1.start(); } vy = Math.abs(vy); } if (this._y > 400) { _root.lifes--; if (_root.lifes < 0) { _root.gOver.play(); } else { if (_root.lifes == 2) { _root.l3._visible = 0; } if (_root.lifes == 1) { _root.l2._visible = 0; } if (_root.lifes == 0) { _root.l1._visible = 0; } _root.gotoAndPlay("ball"); } } } }
Symbol 10 MovieClip Frame 1
stop();
Symbol 14 MovieClip Frame 63
stop();
Symbol 14 MovieClip Frame 272
_root.gotoAndStop(2);
Symbol 27 Button
on (release) { _root.gotoAndPlay("level"); }
Symbol 39 Button
on (release) { _root.gotoAndStop("menu"); }
Symbol 43 Button
on (release) { if (_root.sunet == 0) { _root.sunet = 1; } else { _root.sunet = 0; } }
Symbol 45 Button
on (release, keyPress "p") { if (_root.paused == 0) { _root.paused = 1; } else { _root.paused = 0; } }
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 2
stop(); this.onEnterFrame = function () { if (this.hittest(_root.ball)) { if (_root.sunet == 1) { _root.son1.start(); } _root.pad._xscale = 100; if (this._y > _root.ball._y) { _root.ball.vy = -Math.abs(_root.ball.vy); } if (this._y <= _root.ball._y) { _root.ball.vy = Math.abs(_root.ball.vy); } if ((this._x - 15) > _root.ball._x) { _root.ball.vx = -Math.abs(_root.ball.vx); } if ((this._x + 15) <= _root.ball._x) { _root.ball.vx = Math.abs(_root.ball.vx); } this.play(); } };
Symbol 60 MovieClip Frame 3
delete this.onEnterFrame;
Symbol 60 MovieClip Frame 6
stop(); _root.score = _root.score + 10; _root.elim++; if (_root.piecesOn <= _root.elim) { _root.gotoAndPlay("level"); } removeMovieClip(this);
Symbol 60 MovieClip Frame 7
stop(); this.onEnterFrame = function () { if (this.hittest(_root.ball)) { if (_root.sunet == 1) { _root.son1.start(); } _root.pad._xscale = 140; if (this._y > _root.ball._y) { _root.ball.vy = -Math.abs(_root.ball.vy); } if (this._y <= _root.ball._y) { _root.ball.vy = Math.abs(_root.ball.vy); } if ((this._x - 15) > _root.ball._x) { _root.ball.vx = -Math.abs(_root.ball.vx); } if ((this._x + 15) <= _root.ball._x) { _root.ball.vx = Math.abs(_root.ball.vx); } this.play(); } };
Symbol 60 MovieClip Frame 8
delete this.onEnterFrame;
Symbol 60 MovieClip Frame 11
stop(); _root.score = _root.score + 10; _root.elim++; if (_root.piecesOn <= _root.elim) { _root.gotoAndPlay("level"); } removeMovieClip(this);
Symbol 60 MovieClip Frame 12
stop(); this.onEnterFrame = function () { if (this.hittest(_root.ball)) { if (_root.sunet == 1) { _root.son1.start(); } _root.pad._xscale = 40; if (this._y > _root.ball._y) { _root.ball.vy = -Math.abs(_root.ball.vy); } if (this._y <= _root.ball._y) { _root.ball.vy = Math.abs(_root.ball.vy); } if ((this._x - 15) > _root.ball._x) { _root.ball.vx = -Math.abs(_root.ball.vx); } if ((this._x + 15) <= _root.ball._x) { _root.ball.vx = Math.abs(_root.ball.vx); } this.play(); } };
Symbol 60 MovieClip Frame 13
delete this.onEnterFrame;
Symbol 60 MovieClip Frame 16
stop(); _root.score = _root.score + 10; _root.elim++; if (_root.piecesOn <= _root.elim) { _root.gotoAndPlay("level"); } removeMovieClip(this);
Symbol 60 MovieClip Frame 17
stop(); this.onEnterFrame = function () { if (this.hittest(_root.ball)) { if (_root.sunet == 1) { _root.son1.start(); } if (this._y > _root.ball._y) { _root.ball.vy = -Math.abs(_root.ball.vy); } if (this._y <= _root.ball._y) { _root.ball.vy = Math.abs(_root.ball.vy); } if ((this._x - 15) > _root.ball._x) { _root.ball.vx = -Math.abs(_root.ball.vx); } if ((this._x + 15) <= _root.ball._x) { _root.ball.vx = Math.abs(_root.ball.vx); } this.play(); } };
Symbol 60 MovieClip Frame 18
delete this.onEnterFrame;
Symbol 60 MovieClip Frame 21
stop(); _root.score = _root.score + 25; _root.elim++; if (_root.piecesOn <= _root.elim) { _root.gotoAndPlay("level"); } removeMovieClip(this);
Symbol 60 MovieClip Frame 22
stop(); this.onEnterFrame = function () { if (this.hittest(_root.ball)) { if (_root.sunet == 1) { _root.son1.start(); } if (this._y > _root.ball._y) { _root.ball.vy = -Math.abs(_root.ball.vy); } if (this._y <= _root.ball._y) { _root.ball.vy = Math.abs(_root.ball.vy); } if ((this._x - 15) > _root.ball._x) { _root.ball.vx = -Math.abs(_root.ball.vx); } if ((this._x + 15) <= _root.ball._x) { _root.ball.vx = Math.abs(_root.ball.vx); } this.play(); } };
Symbol 60 MovieClip Frame 23
delete this.onEnterFrame;
Symbol 60 MovieClip Frame 26
stop(); _root.score = _root.score + 50; _root.elim++; if (_root.piecesOn <= _root.elim) { _root.gotoAndPlay("level"); } removeMovieClip(this);
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 75
_root.gotoAndStop("menu");

Library Items

Symbol 1 Sound [shot2]
Symbol 2 Sound [shot1]
Symbol 3 FontUsed by:4 13 40 64
Symbol 4 EditableTextUses:3 5Used by:Timeline
Symbol 5 FontUsed by:4 6 34 35 36 37 38 40 41 44 61 62
Symbol 6 TextUses:5Used by:14
Symbol 7 ShapeTweeningUsed by:10
Symbol 8 GraphicUsed by:10
Symbol 9 GraphicUsed by:10 39 45
Symbol 10 MovieClipUses:7 8 9Used by:14
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:14
Symbol 13 TextUses:3Used by:14
Symbol 14 MovieClipUses:6 10 12 13Used by:Timeline
Symbol 15 GraphicUsed by:Timeline
Symbol 16 FontUsed by:17 18 19 20 21 22 23
Symbol 17 TextUses:16Used by:Timeline
Symbol 18 TextUses:16Used by:Timeline
Symbol 19 TextUses:16Used by:Timeline
Symbol 20 TextUses:16Used by:Timeline
Symbol 21 TextUses:16Used by:Timeline
Symbol 22 TextUses:16Used by:Timeline
Symbol 23 TextUses:16Used by:Timeline
Symbol 24 GraphicUsed by:27
Symbol 25 FontUsed by:26
Symbol 26 TextUses:25Used by:27
Symbol 27 ButtonUses:24 26Used by:Timeline
Symbol 28 GraphicUsed by:33
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:29Used by:33
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClipUses:31Used by:33
Symbol 33 MovieClipUses:28 30 32Used by:Timeline
Symbol 34 TextUses:5Used by:Timeline
Symbol 35 TextUses:5Used by:Timeline
Symbol 36 EditableTextUses:5Used by:Timeline
Symbol 37 EditableTextUses:5Used by:Timeline
Symbol 38 TextUses:5Used by:39
Symbol 39 ButtonUses:9 38Used by:Timeline
Symbol 40 EditableTextUses:3 5Used by:Timeline
Symbol 41 TextUses:5Used by:43
Symbol 42 GraphicUsed by:43
Symbol 43 ButtonUses:41 42Used by:Timeline
Symbol 44 TextUses:5Used by:45
Symbol 45 ButtonUses:9 44Used by:Timeline
Symbol 46 GraphicUsed by:Timeline
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:47Used by:Timeline
Symbol 49 GraphicUsed by:60
Symbol 50 GraphicUsed by:60
Symbol 51 ShapeTweeningUsed by:60
Symbol 52 GraphicUsed by:60
Symbol 53 ShapeTweeningUsed by:60
Symbol 54 GraphicUsed by:60
Symbol 55 ShapeTweeningUsed by:60
Symbol 56 GraphicUsed by:60
Symbol 57 ShapeTweeningUsed by:60
Symbol 58 GraphicUsed by:60
Symbol 59 ShapeTweeningUsed by:60
Symbol 60 MovieClipUses:49 50 51 52 53 54 55 56 57 58 59Used by:Timeline
Symbol 61 TextUses:5Used by:Timeline
Symbol 62 TextUses:5Used by:Timeline
Symbol 63 GraphicUsed by:Timeline
Symbol 64 TextUses:3Used by:65
Symbol 65 MovieClipUses:64Used by:Timeline

Instance Names

"logo"Frame 1Symbol 14 MovieClip
"l1"Frame 3Symbol 33 MovieClip
"l2"Frame 3Symbol 33 MovieClip
"l3"Frame 3Symbol 33 MovieClip
"scoreTXT"Frame 3Symbol 36 EditableText
"bestTXT"Frame 3Symbol 37 EditableText
"pad"Frame 4Symbol 33 MovieClip
"ball"Frame 4Symbol 48 MovieClip
"tile"Frame 4Symbol 60 MovieClip
"pad"Frame 83Symbol 33 MovieClip
"ball"Frame 83Symbol 48 MovieClip
"gOver"Frame 83Symbol 65 MovieClip
"progress"Symbol 14 MovieClip Frame 1Symbol 10 MovieClip
"targ1"Symbol 33 MovieClip Frame 1Symbol 30 MovieClip
"targ2"Symbol 33 MovieClip Frame 1Symbol 32 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "shot2"
ExportAssets (56)Timeline Frame 1Symbol 2 as "shot1"

Labels

"menu"Frame 2
"level"Frame 4
"ball"Frame 5
"game"Frame 83

Dynamic Text Variables

_root.scoreSymbol 36 EditableText"0"
_root.bestSymbol 37 EditableText"0"




http://swfchan.com/6/25007/info.shtml
Created: 24/5 -2019 05:58:54 Last modified: 24/5 -2019 05:58:54 Server time: 06/05 -2024 02:59:23