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

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

Arkanoid.swf

This is the info page for
Flash #42216

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


Text
M U S I C

D e s i g n   &   P r o g r a m m i n g   b y
K A N 2   o f   K 2   S T U D I O S
F i n a l   Y e a r
M u l t i m e d i a   C o m p u t i n g

C l i c k   o n   G O !   t o   s t a r t
U s e   t h e   m o u s e   t o   c o n t r o l   y o u r   s h i p .
D e s t r o y   t h e   b a r r i e r s   w i t h   y o u r   o r b .

A   g a m e   b y   K a n 2   -   B y   c o u r t e s y   o f   K 2   S t u d i o s

E

C

L

S

B

F

E x p a n d   S h i p

C a t c h   O r b

A r m   L a s e r

S l o w   O r b

B o n u s   L i f e

S h r i n k   S h i p

F a s t   O r b

S o f t

M e d i u m

H a r d

I n d e s t r u c t a b l e

B   A   R   R   I   E   R   S

E   N   E   R   G   Y       C   A   P   S   U   L   E   S

<P ALIGN="LEFT"><FONT COLOR="#123456" FACE="Arial" SIZE="12"><A HREF="http://www.sothink.com/swfquicker/" TARGET="">Powered by Sothink</A></FONT></P>

<P ALIGN="LEFT"><FONT COLOR="#123456" FACE="Arial" SIZE="12"><A HREF="http://www.sothink.com/swfquicker/" TARGET="">Powered by Sothink</A></FONT></P>

<P ALIGN="LEFT"><FONT COLOR="#123456" FACE="Arial" SIZE="12"><A HREF="http://www.sothink.com/swfquicker/" TARGET="">Powered by Sothink</A></FONT></P>

<P ALIGN="LEFT"><FONT COLOR="#123456" FACE="Arial" SIZE="12"><A HREF="http://www.sothink.com/swfquicker/" TARGET="">Powered by Sothink</A></FONT></P>

S C O R E

S P E E D

L I V E S

Y O U   S C O R E D

Y O U   R E A C H E D   L E V E L

G A M E   O V E R

T h a n k   y o u   f o r   p l a y i n g !
D e s i g n e d   a n d   P r o g r a m m e d   b y   K a n 2

ActionScript [AS1/AS2]

Frame 1
stopDrag(); setProperty("/bat", _x , "210"); setProperty("/bat", _y , "400"); setProperty("/ball", _x , "210"); setProperty("/ball", _y , "370"); setProperty("/soundFX", _visible , "0"); setProperty("/yellow", _visible , "0"); setProperty("/blue", _visible , "0"); setProperty("/green", _visible , "0"); setProperty("/red", _visible , "0"); stop();
Frame 2
startDrag ("/bat", true, "40", "400", "380", "400"); call("setup_level1");
Frame 3
setProperty("/ball", _x , "270"); setProperty("/ball", _y , "383"); ballDiameter = "12"; ballRadius = ballDiameter / 2; batWidth = "60"; bat_collision_line = 390 - ballRadius; timer = getTimer(); score = "0"; addWallScore = "0"; addBatScore = "0"; speed_ind = "1"; lives_left = "3"; edge_cols = "10"; edge_rows = "10"; release = "0"; started = "0"; button = "1"; onscreen_E = "0"; onscreen_C = "0"; onscreen_L = "0"; onscreen_SL = "0"; onscreen_B = "0"; onscreen_SH = "0"; onscreen_F = "0"; expanded = "0"; caught = "0"; armed = "0"; shrunken = "0";
Frame 4
if (started == "0") { gotoAndPlay (50); } if (noOfBricks == "0") { gotoAndPlay (62); } speed_x = vector_x * magnitude; speed_y = vector_y * magnitude; ball_xB = getProperty("/ball", _x); ball_yB = getProperty("/ball", _y); ball_xA = ball_xB; ball_yA = ball_yB; ball_xB = ball_xA + speed_x; ball_yB = ball_yA + speed_y; if (direction eq "NE") { call("NE"); } else if (direction eq "NW") { call("NW"); } else if (direction eq "SE") { call("SE"); } else if (direction eq "SW") { call("SW"); } if ("410" < ball_xB) { ball_xB = "410" - ballRadius; vector_x = -vector_x; } if (ball_xB < "10") { ball_xB = "10" + ballRadius; vector_x = -vector_x; } if (caught == "1") { if (ball_yB == bat_collision_line) { bat_left = getProperty("/bat", _x) - (batWidth / "2"); bat_right = getProperty("/bat", _x) + (batWidth / "2"); if ((ball_xB >= bat_left) or (bat_right >= ball_xB)) { gotoAndPlay (34); } } } if ("400" < ball_yB) { gotoAndPlay (55); } point_x1 = getProperty("/ball", _x); point_y1 = getProperty("/ball", _y); setProperty("/ball", _x , ball_xB); setProperty("/ball", _y , ball_yB); point_x2 = getProperty("/ball", _x); point_y2 = getProperty("/ball", _y); if (("0" < (point_x2 - point_x1)) and ((point_y2 - point_y1) < "0")) { direction = "NE"; } else if (("0" < (point_x2 - point_x1)) and ("0" < (point_y2 - point_y1))) { direction = "SE"; } else if (((point_x2 - point_x1) < "0") and ("0" < (point_y2 - point_y1))) { direction = "SW"; } else if (((point_x2 - point_x1) < "0") and ((point_y2 - point_y1) < "0")) { direction = "NW"; }
Frame 5
bricksLeft = noOfBricks; if (onscreen_B == "1") { call("BonusLife"); } if (onscreen_E == "1") { call("Expand"); } if (onscreen_C == "1") { call("Catch"); } if (onscreen_SL == "1") { call("Slow"); } if (onscreen_F == "1") { call("Fast"); } if (onscreen_SH == "1") { call("Shrink"); } if (started == "1") { timerCheck = getTimer(); if ((timerCheck - timer) >= "15000") { magnitude = magnitude + "1"; timer = getTimer(); addWallScore = addWallScore + "50"; addBatScore = addBatScore + "100"; speed_ind = speed_ind + "1"; } } gotoAndPlay (4);
Frame 7
i = "1"; m = (ball_yB - ball_yA) / (ball_xB - ball_xA); c = ball_yA - (m * ball_xA); row = int((ball_yA - edge_rows) / "20"); col = int((ball_xA - edge_cols) / "40"); H_collision_line = ((row + "1") * "20") - "4"; if ((H_collision_line < ball_yA) and (H_collision_line >= ball_yB)) { Set("ball_y" add i, H_collision_line); Set("ball_x" add i, (eval ("ball_y" add i) - c) / m); i = i + "1"; } eol = "0"; while (eol == "0") { H_collision_line = H_collision_line - "20"; if (H_collision_line < ball_yB) { eol = "1"; } else { Set("ball_y" add i, H_collision_line); Set("ball_x" add i, (eval ("ball_y" add i) - c) / m); i = i + "1"; } } V_collision_line = ((col + "1") * "40") + "4"; if ((ball_xA < V_collision_line) and (ball_xB >= V_collision_line)) { Set("ball_x" add i, V_collision_line); Set("ball_y" add i, (m * eval ("ball_x" add i)) + c); i = i + "1"; } eol = "0"; while (eol == "0") { V_collision_line = V_collision_line + "40"; if (ball_xB < V_collision_line) { eol = "1"; } else { Set("ball_x" add i, V_collision_line); Set("ball_y" add i, (m * eval ("ball_x" add i)) + c); i = i + "1"; } } noOfpts = i - "1"; j = "1"; while (noOfpts >= j) { Set("manhattan" add j, ((eval ("ball_x" add j) - ball_xA) * (eval ("ball_x" add j) - ball_xA)) + ((eval ("ball_y" add j) - ball_yA) * (eval ("ball_y" add j) - ball_yA))); Set("dist" add j, "0"); j = j + "1"; } n = "1"; while (noOfpts >= n) { d = "1"; Set("dist" add d, eval ("manhattan" add n)); while ((noOfpts - "1") >= d) { if (eval ("dist" add (d + "1")) < eval ("dist" add d)) { distTemp = eval ("dist" add d); Set("dist" add d, eval ("dist" add (d + "1"))); Set("dist" add (d + "1"), distTemp); } d = d + "1"; } n = n + "1"; } d = "1"; while (noOfpts >= d) { n = "1"; while (noOfpts >= n) { if (eval ("dist" add d) == eval ("manhattan" add n)) { pt_col = int((eval ("ball_x" add n) - edge_cols) / "40"); pt_row = int((eval ("ball_y" add n) - edge_rows) / "20"); B_collision_line = ((pt_row + "1") * "20") - "4"; L_collision_line = ((pt_col + "1") * "40") + "4"; wall_collision_line = "410" - ballRadius; ceiling_collision_line = "10" + ballRadius; if (eval ("ball_y" add n) == ceiling_collision_line) { tellTarget ("/soundFX") { gotoAndPlay ("hit"); }; score = score + addWallScore; vector_y = -vector_y; ball_yB = eval ("ball_y" add n); ball_xB = eval ("ball_x" add n); d = noOfpts; } else if (eval ("ball_y" add n) == B_collision_line) { isVisible1 = getProperty(("/brick" add pt_col) add (pt_row - "1"), _currentframe); isVisible2 = getProperty(("/brick" add (pt_col + "1")) add (pt_row - "1"), _currentframe); if (((isVisible1 == "1") or (isVisible1 == "2")) or (isVisible1 == "3")) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = pt_col add (pt_row - "1"); tellTarget (("/brick" add pt_col) add (pt_row - "1")) { nextFrame(); }; vector_y = -vector_y; ball_yB = eval ("ball_y" add n); ball_xB = eval ("ball_x" add n); d = noOfpts; } else if ((((isVisible2 == "1") or (isVisible2 == "2")) or (isVisible2 == "3")) and (eval ("ball_x" add n) >= L_collision_line)) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = (pt_col + "1") add (pt_row - "1"); tellTarget (("/brick" add (pt_col + "1")) add (pt_row - "1")) { nextFrame(); }; vector_y = -vector_y; ball_yB = eval ("ball_y" add n); ball_xB = eval ("ball_x" add n); d = noOfpts; } } if (eval ("ball_x" add n) == wall_collision_line) { tellTarget ("/soundFX") { gotoAndPlay ("hit"); }; score = score + addWallScore; vector_x = -vector_x; ball_xB = eval ("ball_x" add n); ball_yB = eval ("ball_y" add n); d = noOfpts; } else if (eval ("ball_x" add n) == L_collision_line) { isVisible1 = getProperty(("/brick" add (pt_col + "1")) add pt_row, _currentframe); isVisible2 = getProperty(("/brick" add (pt_col + "1")) add (pt_row - "1"), _currentframe); if (((isVisible1 == "1") or (isVisible1 == "2")) or (isVisible1 == "3")) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = (pt_col + "1") add pt_row; tellTarget (("/brick" add (pt_col + "1")) add pt_row) { nextFrame(); }; vector_x = -vector_x; ball_xB = eval ("ball_x" add n); ball_yB = eval ("ball_y" add n); d = noOfpts; } else if ((((isVisible2 == "1") or (isVisible2 == "2")) or (isVisible2 == "3")) and (B_collision_line >= eval ("ball_y" add n))) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = (pt_col + "1") add (pt_row - "1"); tellTarget (("/brick" add (pt_col + "1")) add (pt_row - "1")) { nextFrame(); }; vector_x = -vector_x; ball_xB = eval ("ball_x" add n); ball_yB = eval ("ball_y" add n); d = noOfpts; } } n = noOfpts; } n = n + "1"; } d = d + "1"; }
Frame 9
i = "1"; m = (ball_yB - ball_yA) / (ball_xB - ball_xA); c = ball_yA - (m * ball_xA); row = int((ball_yA - edge_rows) / "20"); col = int((ball_xA - edge_cols) / "40"); H_collision_line = ((row + "1") * "20") - "4"; if ((H_collision_line < ball_yA) and (H_collision_line >= ball_yB)) { Set("ball_y" add i, H_collision_line); Set("ball_x" add i, (eval ("ball_y" add i) - c) / m); i = i + "1"; } eol = "0"; while (eol == "0") { H_collision_line = H_collision_line - "20"; if (H_collision_line < ball_yB) { eol = "1"; } else { Set("ball_y" add i, H_collision_line); Set("ball_x" add i, (eval ("ball_y" add i) - c) / m); i = i + "1"; } } V_collision_line = ((col + "1") * "40") - "24"; if ((V_collision_line < ball_xA) and (V_collision_line >= ball_xB)) { Set("ball_x" add i, V_collision_line); Set("ball_y" add i, (m * eval ("ball_x" add i)) + c); i = i + "1"; } eol = "0"; while (eol == "0") { V_collision_line = V_collision_line - "40"; if (V_collision_line < ball_xB) { eol = "1"; } else { Set("ball_x" add i, V_collision_line); Set("ball_y" add i, (m * eval ("ball_x" add i)) + c); i = i + "1"; } } noOfpts = i - "1"; j = "1"; while (noOfpts >= j) { Set("manhattan" add j, ((eval ("ball_x" add j) - ball_xA) * (eval ("ball_x" add j) - ball_xA)) + ((eval ("ball_y" add j) - ball_yA) * (eval ("ball_y" add j) - ball_yA))); Set("dist" add j, "0"); j = j + "1"; } n = "1"; while (noOfpts >= n) { d = "1"; Set("dist" add d, eval ("manhattan" add n)); while ((noOfpts - "1") >= d) { if (eval ("dist" add (d + "1")) < eval ("dist" add d)) { distTemp = eval ("dist" add d); Set("dist" add d, eval ("dist" add (d + "1"))); Set("dist" add (d + "1"), distTemp); } d = d + "1"; } n = n + "1"; } d = "1"; while (noOfpts >= d) { n = "1"; while (noOfpts >= n) { if (eval ("dist" add d) == eval ("manhattan" add n)) { pt_col = int((eval ("ball_x" add n) - edge_cols) / "40"); pt_row = int((eval ("ball_y" add n) - edge_rows) / "20"); B_collision_line = ((pt_row + "1") * "20") - "4"; R_collision_line = ((pt_col + "1") * "40") - "24"; wall_collision_line = "10" + ballRadius; ceiling_collision_line = "10" + ballRadius; if (eval ("ball_y" add n) == ceiling_collision_line) { tellTarget ("/soundFX") { gotoAndPlay ("hit"); }; score = score + addWallScore; vector_y = -vector_y; ball_yB = eval ("ball_y" add n); ball_xB = eval ("ball_x" add n); d = noOfpts; } else if (eval ("ball_y" add n) == B_collision_line) { isVisible1 = getProperty(("/brick" add pt_col) add (pt_row - "1"), _currentframe); isVisible2 = getProperty(("/brick" add (pt_col - "1")) add (pt_row - "1"), _currentframe); if (((isVisible1 == "1") or (isVisible1 == "2")) or (isVisible1 == "3")) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = pt_col add (pt_row - "1"); tellTarget (("/brick" add pt_col) add (pt_row - "1")) { nextFrame(); }; vector_y = -vector_y; ball_yB = eval ("ball_y" add n); ball_xB = eval ("ball_x" add n); d = noOfpts; } else if ((((isVisible2 == "1") or (isVisible2 == "2")) or (isVisible2 == "3")) and (R_collision_line >= eval ("ball_x" add n))) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = (pt_col - "1") add (pt_row - "1"); tellTarget (("/brick" add (pt_col - "1")) add (pt_row - "1")) { nextFrame(); }; vector_y = -vector_y; ball_yB = eval ("ball_y" add n); ball_xB = eval ("ball_x" add n); d = noOfpts; } } if (eval ("ball_x" add n) == wall_collision_line) { tellTarget ("/soundFX") { gotoAndPlay ("hit"); }; score = score + addWallScore; vector_x = -vector_x; ball_xB = eval ("ball_x" add n); ball_yB = eval ("ball_y" add n); d = noOfpts; } else if (eval ("ball_x" add n) == R_collision_line) { isVisible1 = getProperty(("/brick" add (pt_col - "1")) add pt_row, _currentframe); isVisible2 = getProperty(("/brick" add (pt_col - "1")) add (pt_row - "1"), _currentframe); if (((isVisible1 == "1") or (isVisible1 == "2")) or (isVisible1 == "3")) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = (pt_col - "1") add pt_row; tellTarget (("/brick" add (pt_col - "1")) add pt_row) { nextFrame(); }; vector_x = -vector_x; ball_xB = eval ("ball_x" add n); ball_yB = eval ("ball_y" add n); d = noOfpts; } else if ((((isVisible2 == "1") or (isVisible2 == "2")) or (isVisible2 == "3")) and (B_collision_line >= eval ("ball_y" add n))) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = (pt_col - "1") add (pt_row - "1"); tellTarget (("/brick" add (pt_col - "1")) add (pt_row - "1")) { nextFrame(); }; vector_x = -vector_x; ball_xB = eval ("ball_x" add n); ball_yB = eval ("ball_y" add n); d = noOfpts; } } n = noOfpts; } n = n + "1"; } d = d + "1"; }
Frame 11
i = "1"; m = (ball_yB - ball_yA) / (ball_xB - ball_xA); c = ball_yA - (m * ball_xA); row = int((ball_yA - edge_rows) / "20"); col = int((ball_xA - edge_cols) / "40"); H_collision_line = ((row + "1") * "20") + "4"; if ((ball_yA < H_collision_line) and (ball_yB >= H_collision_line)) { Set("ball_y" add i, H_collision_line); Set("ball_x" add i, (eval ("ball_y" add i) - c) / m); i = i + "1"; } eol = "0"; while (eol == "0") { H_collision_line = H_collision_line + "20"; if (ball_yB < H_collision_line) { eol = "1"; } else { Set("ball_y" add i, H_collision_line); Set("ball_x" add i, (eval ("ball_y" add i) - c) / m); i = i + "1"; } } V_collision_line = ((col + "1") * "40") + "4"; if ((ball_xA < V_collision_line) and (ball_xB >= V_collision_line)) { Set("ball_x" add i, V_collision_line); Set("ball_y" add i, (m * eval ("ball_x" add i)) + c); i = i + "1"; } eol = "0"; while (eol == "0") { V_collision_line = V_collision_line + "40"; if (ball_xB < V_collision_line) { eol = "1"; } else { Set("ball_x" add i, V_collision_line); Set("ball_y" add i, (m * eval ("ball_x" add i)) + c); i = i + "1"; } } noOfpts = i - "1"; j = "1"; while (noOfpts >= j) { Set("manhattan" add j, ((eval ("ball_x" add j) - ball_xA) * (eval ("ball_x" add j) - ball_xA)) + ((eval ("ball_y" add j) - ball_yA) * (eval ("ball_y" add j) - ball_yA))); Set("dist" add j, "0"); j = j + "1"; } n = "1"; while (noOfpts >= n) { d = "1"; Set("dist" add d, eval ("manhattan" add n)); while ((noOfpts - "1") >= d) { if (eval ("dist" add (d + "1")) < eval ("dist" add d)) { distTemp = eval ("dist" add d); Set("dist" add d, eval ("dist" add (d + "1"))); Set("dist" add (d + "1"), distTemp); } d = d + "1"; } n = n + "1"; } d = "1"; while (noOfpts >= d) { n = "1"; while (noOfpts >= n) { if (eval ("dist" add d) == eval ("manhattan" add n)) { pt_col = int((eval ("ball_x" add n) - edge_cols) / "40"); pt_row = int((eval ("ball_y" add n) - edge_rows) / "20"); T_collision_line = ((pt_row + "1") * "20") + "4"; L_collision_line = ((pt_col + "1") * "40") + "4"; bat_x = getProperty("/bat", _x); bat_left = bat_x - (batWidth / "2"); bat_right = bat_x + (batWidth / "2"); bat_collision_line = "390" - ballRadius; wall_collision_line = "410" - ballRadius; if (eval ("ball_y" add n) == bat_collision_line) { if ((eval ("ball_x" add n) >= bat_left) and (bat_right >= eval ("ball_x" add n))) { if (eval ("ball_x" add n) >= (bat_x + int(("2" / "6") * batWidth))) { vector_x = "4"; vector_y = -"1"; } else if (eval ("ball_x" add n) >= (bat_x + int(("1" / "6") * batWidth))) { vector_x = "3"; vector_y = -"3"; } else if (eval ("ball_x" add n) >= bat_x) { vector_x = "1"; vector_y = -"4"; } else if ((bat_x - int(("2" / "6") * batWidth)) >= eval ("ball_x" add n)) { vector_x = -"4"; vector_y = -"1"; } else if ((bat_x - int(("1" / "6") * batWidth)) >= eval ("ball_x" add n)) { vector_x = -"3"; vector_y = -"3"; } else if (bat_x >= eval ("ball_x" add n)) { vector_x = -"1"; vector_y = -"4"; } tellTarget ("/soundFX") { gotoAndPlay ("hit"); }; score = score + addBatScore; ball_yB = eval ("ball_y" add n); ball_xB = eval ("ball_x" add n); d = noOfpts; } } else if (eval ("ball_y" add n) == T_collision_line) { isVisible1 = getProperty(("/brick" add pt_col) add (pt_row + "1"), _currentframe); isVisible2 = getProperty(("/brick" add (pt_col + "1")) add (pt_row + "1"), _currentframe); if (((isVisible1 == "1") or (isVisible1 == "2")) or (isVisible1 == "3")) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = pt_col add (pt_row + "1"); tellTarget (("/brick" add pt_col) add (pt_row + "1")) { nextFrame(); }; vector_y = -vector_y; ball_yB = eval ("ball_y" add n); ball_xB = eval ("ball_x" add n); d = noOfpts; } else if ((((isVisible2 == "1") or (isVisible2 == "2")) or (isVisible2 == "3")) and (eval ("ball_x" add n) >= L_collision_line)) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = (pt_col + "1") add (pt_row + "1"); tellTarget (("/brick" add (pt_col + "1")) add (pt_row + "1")) { nextFrame(); }; vector_y = -vector_y; ball_yB = eval ("ball_y" add n); ball_xB = eval ("ball_x" add n); d = noOfpts; } } if (eval ("ball_x" add n) == wall_collision_line) { tellTarget ("/soundFX") { gotoAndPlay ("hit"); }; score = score + addWallScore; vector_x = -vector_x; ball_xB = eval ("ball_x" add n); ball_yB = eval ("ball_y" add n); d = noOfpts; } else if (eval ("ball_x" add n) == L_collision_line) { isVisible1 = getProperty(("/brick" add (pt_col + "1")) add pt_row, _currentframe); isVisible2 = getProperty(("/brick" add (pt_col + "1")) add (pt_row + "1"), _currentframe); if (((isVisible1 == "1") or (isVisible1 == "2")) or (isVisible1 == "3")) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = (pt_col + "1") add pt_row; tellTarget (("/brick" add (pt_col + "1")) add pt_row) { nextFrame(); }; vector_x = -vector_x; ball_xB = eval ("ball_x" add n); ball_yB = eval ("ball_y" add n); d = noOfpts; } else if ((((isVisible2 == "1") or (isVisible2 == "2")) or (isVisible2 == "3")) and (eval ("ball_y" add n) >= T_collision_line)) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = (pt_col + "1") add (pt_row + "1"); tellTarget (("/brick" add (pt_col + "1")) add (pt_row + "1")) { nextFrame(); }; vector_x = -vector_x; ball_xB = eval ("ball_x" add n); ball_yB = eval ("ball_y" add n); d = noOfpts; } } n = noOfpts; } n = n + "1"; } d = d + "1"; }
Frame 13
i = "1"; m = (ball_yB - ball_yA) / (ball_xB - ball_xA); c = ball_yA - (m * ball_xA); row = int((ball_yA - edge_rows) / "20"); col = int((ball_xA - edge_cols) / "40"); H_collision_line = ((row + "1") * "20") + "4"; if ((ball_yA < H_collision_line) and (ball_yB >= H_collision_line)) { Set("ball_y" add i, H_collision_line); Set("ball_x" add i, (eval ("ball_y" add i) - c) / m); i = i + "1"; } eol = "0"; while (eol == "0") { H_collision_line = H_collision_line + "20"; if (ball_yB < H_collision_line) { eol = "1"; } else { Set("ball_y" add i, H_collision_line); Set("ball_x" add i, (eval ("ball_y" add i) - c) / m); i = i + "1"; } } V_collision_line = ((col + "1") * "40") - "24"; if ((V_collision_line < ball_xA) and (V_collision_line >= ball_xB)) { Set("ball_x" add i, V_collision_line); Set("ball_y" add i, (m * eval ("ball_x" add i)) + c); i = i + "1"; } eol = "0"; while (eol == "0") { V_collision_line = V_collision_line - "40"; if (V_collision_line < ball_xB) { eol = "1"; } else { Set("ball_x" add i, V_collision_line); Set("ball_y" add i, (m * eval ("ball_x" add i)) + c); i = i + "1"; } } noOfpts = i - "1"; j = "1"; while (noOfpts >= j) { Set("manhattan" add j, ((eval ("ball_x" add j) - ball_xA) * (eval ("ball_x" add j) - ball_xA)) + ((eval ("ball_y" add j) - ball_yA) * (eval ("ball_y" add j) - ball_yA))); Set("dist" add j, "0"); j = j + "1"; } n = "1"; while (noOfpts >= n) { d = "1"; Set("dist" add d, eval ("manhattan" add n)); while ((noOfpts - "1") >= d) { if (eval ("dist" add (d + "1")) < eval ("dist" add d)) { distTemp = eval ("dist" add d); Set("dist" add d, eval ("dist" add (d + "1"))); Set("dist" add (d + "1"), distTemp); } d = d + "1"; } n = n + "1"; } d = "1"; while (noOfpts >= d) { n = "1"; while (noOfpts >= n) { if (eval ("dist" add d) == eval ("manhattan" add n)) { pt_col = int((eval ("ball_x" add n) - edge_cols) / "40"); pt_row = int((eval ("ball_y" add n) - edge_rows) / "20"); T_collision_line = ((pt_row + "1") * "20") + "4"; R_collision_line = ((pt_col + "1") * "40") - "24"; bat_x = getProperty("/bat", _x); bat_left = bat_x - (batWidth / "2"); bat_right = bat_x + (batWidth / "2"); bat_collision_line = "390" - ballRadius; wall_collision_line = "10" + ballRadius; if (eval ("ball_y" add n) == bat_collision_line) { if ((eval ("ball_x" add n) >= bat_left) and (bat_right >= eval ("ball_x" add n))) { if (eval ("ball_x" add n) >= (bat_x + int(("2" / "6") * batWidth))) { vector_x = "4"; vector_y = -"1"; } else if (eval ("ball_x" add n) >= (bat_x + int(("1" / "6") * batWidth))) { vector_x = "3"; vector_y = -"3"; } else if (eval ("ball_x" add n) >= bat_x) { vector_x = "1"; vector_y = -"4"; } else if ((bat_x - int(("2" / "6") * batWidth)) >= eval ("ball_x" add n)) { vector_x = -"4"; vector_y = -"1"; } else if ((bat_x - int(("1" / "6") * batWidth)) >= eval ("ball_x" add n)) { vector_x = -"3"; vector_y = -"3"; } else if (bat_x >= eval ("ball_x" add n)) { vector_x = -"1"; vector_y = -"4"; } tellTarget ("/soundFX") { gotoAndPlay ("hit"); }; score = score + addBatScore; ball_yB = eval ("ball_y" add n); ball_xB = eval ("ball_x" add n); d = noOfpts; } } else if (eval ("ball_y" add n) == T_collision_line) { isVisible1 = getProperty(("/brick" add pt_col) add (pt_row + "1"), _currentframe); isVisible2 = getProperty(("/brick" add (pt_col - "1")) add (pt_row + "1"), _currentframe); if (((isVisible1 == "1") or (isVisible1 == "2")) or (isVisible1 == "3")) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = pt_col add (pt_row + "1"); tellTarget (("/brick" add pt_col) add (pt_row + "1")) { nextFrame(); }; vector_y = -vector_y; ball_yB = eval ("ball_y" add n); ball_xB = eval ("ball_x" add n); d = noOfpts; } else if ((((isVisible2 == "1") or (isVisible2 == "2")) or (isVisible2 == "3")) and (R_collision_line >= eval ("ball_x" add n))) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = (pt_col - "1") add (pt_row + "1"); tellTarget (("/brick" add (pt_col - "1")) add (pt_row + "1")) { nextFrame(); }; vector_y = -vector_y; ball_yB = eval ("ball_y" add n); ball_xB = eval ("ball_x" add n); d = noOfpts; } } if (eval ("ball_x" add n) == wall_collision_line) { tellTarget ("/soundFX") { gotoAndPlay ("hit"); }; score = score + addWallScore; vector_x = -vector_x; ball_xB = eval ("ball_x" add n); ball_yB = eval ("ball_y" add n); d = noOfpts; } else if (eval ("ball_x" add n) == R_collision_line) { isVisible1 = getProperty(("/brick" add (pt_col - "1")) add pt_row, _currentframe); isVisible2 = getProperty(("/brick" add (pt_col - "1")) add (pt_row + "1"), _currentframe); if (((isVisible1 == "1") or (isVisible1 == "2")) or (isVisible1 == "3")) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = (pt_col - "1") add pt_row; tellTarget (("/brick" add (pt_col - "1")) add pt_row) { nextFrame(); }; vector_x = -vector_x; ball_xB = eval ("ball_x" add n); ball_yB = eval ("ball_y" add n); d = noOfpts; } else if ((((isVisible2 == "1") or (isVisible2 == "2")) or (isVisible2 == "3")) and (eval ("ball_y" add n) >= T_collision_line)) { tellTarget ("/soundFX") { gotoAndPlay ("hitBrick"); }; brickNo = (pt_col - "1") add (pt_row + "1"); tellTarget (("/brick" add (pt_col - "1")) add (pt_row + "1")) { nextFrame(); }; vector_x = -vector_x; ball_xB = eval ("ball_x" add n); ball_yB = eval ("ball_y" add n); d = noOfpts; } } n = noOfpts; } n = n + "1"; } d = d + "1"; }
Frame 16
i = "1"; while (noOfE >= i) { expand_y = getProperty("expand" add i, _y); expand_y = expand_y + "6"; setProperty("expand" add i, _y , expand_y); if ("390" < expand_y) { bat_x = getProperty("/bat", _x); bat_left = bat_x - (batWidth / "2"); bat_right = bat_x + (batWidth / "2"); expand_x = getProperty("expand" add i, _x); expand_left = expand_x - "10"; expand_right = expand_x + "10"; if ((expand_left >= bat_left) and (bat_right >= expand_right)) { tellTarget ("/soundFX") { gotoAndPlay ("Expand"); }; trace("You've just got EXPAND"); if (expanded == "0") { expanded = "1"; setProperty("/bat", _xscale , "100"); batWidth = "80"; stopDrag(); startDrag ("/bat", true, "50", "400", "370", "400"); power_up = "expand"; shrunken = "0"; call("reset_capsules"); } removeMovieClip("expand" add i); onscreen_E = "0"; } else { removeMovieClip("expand" add i); onscreen_E = "0"; } } i = i + "1"; }
Frame 19
i = "1"; while (noOfC >= i) { catch_y = getProperty("catch" add i, _y); catch_y = catch_y + "6"; setProperty("catch" add i, _y , catch_y); if ("390" < catch_y) { bat_x = getProperty("/bat", _x); bat_left = bat_x - (batWidth / "2"); bat_right = bat_x + (batWidth / "2"); catch_x = getProperty("catch" add i, _x); catch_left = catch_x - "10"; catch_right = catch_x + "10"; if ((catch_left >= bat_left) and (bat_right >= catch_right)) { tellTarget ("/soundFX") { gotoAndPlay ("Catch"); }; trace("You've just got CATCH"); if (caught == "0") { caught = "1"; button = "2"; power_up = "catch"; call("reset_capsules"); } removeMovieClip("catch" add i); onscreen_C = "0"; } else { removeMovieClip("catch" add i); onscreen_C = "0"; } } i = i + "1"; }
Frame 22
i = "1"; while (noOfSL >= i) { slow_y = getProperty("slow" add i, _y); slow_y = slow_y + "6"; setProperty("slow" add i, _y , slow_y); if ("390" < slow_y) { bat_x = getProperty("/bat", _x); bat_left = bat_x - (batWidth / "2"); bat_right = bat_x + (batWidth / "2"); slow_x = getProperty("slow" add i, _x); slow_left = slow_x - "10"; slow_right = slow_x + "10"; if ((slow_left >= bat_left) and (bat_right >= slow_right)) { tellTarget ("/soundFX") { gotoAndPlay ("Slow"); }; trace("You've just got SLOW"); if (magnitude >= "5") { magnitude = magnitude - "2"; speed_ind = speed_ind - "2"; } else { magnitude = "3"; speed_ind = "1"; } timer = getTimer(); power_up = "slow"; call("reset_capsules"); removeMovieClip("slow" add i); onscreen_SL = "0"; } else { removeMovieClip("slow" add i); onscreen_SL = "0"; } } i = i + "1"; }
Frame 25
i = "1"; while (noOfB >= i) { bonuslife_y = getProperty("bonuslife" add i, _y); bonuslife_y = bonuslife_y + "6"; setProperty("bonuslife" add i, _y , bonuslife_y); if ("390" < bonuslife_y) { bat_x = getProperty("/bat", _x); bat_left = bat_x - (batWidth / "2"); bat_right = bat_x + (batWidth / "2"); bonuslife_x = getProperty("bonuslife" add i, _x); bonuslife_left = bonuslife_x - "10"; bonuslife_right = bonuslife_x + "10"; if ((bonuslife_left >= bat_left) and (bat_right >= bonuslife_right)) { tellTarget ("/soundFX") { gotoAndPlay ("bonuslife"); }; trace("You've just got BONUS LIFE"); lives_left = lives_left + "1"; power_up = "bonuslife"; call("reset_capsules"); removeMovieClip("bonuslife" add i); onscreen_B = "0"; } else { removeMovieClip("bonuslife" add i); onscreen_B = "0"; } } i = i + "1"; }
Frame 28
i = "1"; while (noOfSH >= i) { shrink_y = getProperty("shrink" add i, _y); shrink_y = shrink_y + "6"; setProperty("shrink" add i, _y , shrink_y); if ("390" < shrink_y) { bat_x = getProperty("/bat", _x); bat_left = bat_x - (batWidth / "2"); bat_right = bat_x + (batWidth / "2"); shrink_x = getProperty("shrink" add i, _x); shrink_left = shrink_x - "10"; shrink_right = shrink_x + "10"; if ((shrink_left >= bat_left) and (bat_right >= shrink_right)) { tellTarget ("/soundFX") { gotoAndPlay ("shrink"); }; trace("You've just got SHRINK"); if (shrunken == "0") { shrunken = "1"; setProperty("/bat", _xscale , "50"); batWidth = "40"; stopDrag(); startDrag ("/bat", true, "30", "400", "390", "400"); power_up = "shrink"; expanded = "0"; call("reset_capsules"); } removeMovieClip("shrink" add i); onscreen_SH = "0"; } else { removeMovieClip("shrink" add i); onscreen_SH = "0"; } } i = i + "1"; }
Frame 31
i = "1"; while (noOfF >= i) { fast_y = getProperty("fast" add i, _y); fast_y = fast_y + "6"; setProperty("fast" add i, _y , fast_y); if ("390" < fast_y) { bat_x = getProperty("/bat", _x); bat_left = bat_x - (batWidth / "2"); bat_right = bat_x + (batWidth / "2"); fast_x = getProperty("fast" add i, _x); fast_left = fast_x - "10"; fast_right = fast_x + "10"; if ((fast_left >= bat_left) and (bat_right >= fast_right)) { tellTarget ("/soundFX") { gotoAndPlay ("fast"); }; trace("You've just got FAST"); magnitude = magnitude + "2"; speed_ind = speed_ind + "2"; timer = getTimer(); power_up = "fast"; call("reset_capsules"); removeMovieClip("fast" add i); onscreen_F = "0"; } else { removeMovieClip("fast" add i); onscreen_F = "0"; } } i = i + "1"; }
Frame 34
catchTimer = getTimer(); caughtBall = "1"; bat_x = getProperty("/bat", _x); displace = ball_xB - bat_x;
Frame 35
caughtTime = getTimer(); setProperty("/ball", _x , getProperty("/bat", _x) + displace); if (caughtBall == "0") { gotoAndPlay (4); } else if ((caughtTime - catchTimer) >= "3000") { gotoAndPlay (4); }
Frame 36
if (onscreen_B == "1") { call("BonusLife"); } if (onscreen_E == "1") { call("Expand"); } if (onscreen_C == "1") { call("Catch"); } if (onscreen_SL == "1") { call("Slow"); } if (onscreen_F == "1") { call("Fast"); } if (onscreen_SH == "1") { call("Shrink"); } gotoAndPlay (35);
Frame 38
if (power_up ne "expand") { if (expanded == "1") { expanded = "0"; setProperty("/bat", _xscale , "75"); batWidth = "60"; stopDrag(); startDrag ("/bat", true, "40", "400", "380", "400"); } } if (power_up ne "shrink") { if (shrunken == "1") { shrunken = "0"; setProperty("/bat", _xscale , "75"); batWidth = "60"; stopDrag(); startDrag ("/bat", true, "40", "400", "380", "400"); } } if (power_up ne "catch") { if (caught == "1") { button = "0"; caught = "0"; release = "True"; } }
Frame 44
speed_ind = "1"; timer = getTimer(); started = "0"; release = "0"; setProperty("/ball", _x , "270"); setProperty("/ball", _y , "383"); ball_yB = "383"; button = "1"; if (expanded == "1") { expanded = "0"; setProperty("/bat", _xscale , "75"); batWidth = "60"; stopDrag(); startDrag ("/bat", true, "40", "400", "380", "400"); } if (shrunken == "1") { shrunken = "0"; setProperty("/bat", _xscale , "75"); batWidth = "60"; stopDrag(); startDrag ("/bat", true, "40", "400", "380", "400"); } if (caught == "1") { caught = "0"; }
Frame 50
setProperty("/ball", _x , "270"); setProperty("/ball", _y , "383"); direction = "NE"; vector_x = "1"; vector_y = -"4"; magnitude = "3";
Frame 51
setProperty("/ball", _x , getProperty("/bat", _x)); startTimer = getTimer(); if (started == "1") { button = "0"; gotoAndPlay (4); } else if ((startTimer - timer) >= "3000") { started = "1"; button = "0"; gotoAndPlay (4); }
Frame 52
gotoAndPlay (51);
Frame 55
tellTarget ("/soundFX") { gotoAndPlay ("lose"); }; i = "1"; while ("50" >= i) { removeMovieClip("expand" add i); removeMovieClip("catch" add i); removeMovieClip("slow" add i); i = i + "1"; } lives_left = lives_left - "1"; if (lives_left < "0") { gotoAndPlay (100); }
Frame 60
call("reset_variables"); gotoAndPlay (50);
Frame 62
i = "1"; while ("50" >= i) { removeMovieClip("expand" add i); removeMovieClip("catch" add i); removeMovieClip("slow" add i); i = i + "1"; } if (level_is == "1") { tellTarget ("/soundFX") { gotoAndPlay ("next_level"); }; call("reset_variables"); call("setup_level2"); } else if (level_is == "2") { tellTarget ("/soundFX") { gotoAndPlay ("next_level"); }; call("reset_variables"); call("setup_level3"); } else if (level_is == "3") { tellTarget ("/soundFX") { gotoAndPlay ("next_level"); }; call("reset_variables"); call("setup_level4"); } else { tellTarget ("/soundFX") { gotoAndPlay ("win"); }; gotoAndPlay (100); }
Frame 67
gotoAndPlay (50);
Frame 69
setProperty("/yellow", _visible , "1"); setProperty("/blue", _visible , "1"); setProperty("/green", _visible , "1"); setProperty("/red", _visible , "1"); level_is = "1"; noOfBricks = "40"; depth = "1"; rows = "2"; cols = "0"; while (rows == "2") { while ("9" >= cols) { duplicateMovieClip ("/green", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } rows = rows + "1"; } rows = "3"; cols = "0"; while ("5" >= rows) { while ("9" >= cols) { duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } cols = "0"; rows = rows + "1"; } i = "1"; noOfC = "3"; while (noOfC >= i) { RandRows = random("4") + "2"; RandCols = random("10"); Set("c" add i, RandCols add RandRows); trace((("c" add i) add " = ") add eval ("c" add i)); i = i + "1"; } i = "1"; noOfE = "5"; while (noOfE >= i) { RandCols = random("10"); RandRows = random("4") + "2"; Set("e" add i, RandCols add RandRows); trace((("e" add i) add " = ") add eval ("e" add i)); i = i + "1"; } i = "1"; noOfSL = "5"; while (noOfSL >= i) { RandCols = random("10"); RandRows = random("4") + "2"; Set("sl" add i, RandCols add RandRows); trace((("sl" add i) add " = ") add eval ("sl" add i)); i = i + "1"; } i = "1"; noOfB = "2"; while (noOfB >= i) { RandCols = random("10"); RandRows = random("4") + "2"; Set("b" add i, RandCols add RandRows); trace((("b" add i) add " = ") add eval ("b" add i)); i = i + "1"; } i = "1"; noOfSH = "2"; while (noOfSH >= i) { RandCols = random("10"); RandRows = random("4") + "2"; Set("sh" add i, RandCols add RandRows); trace((("sh" add i) add " = ") add eval ("sh" add i)); i = i + "1"; } i = "1"; noOfF = "2"; while (noOfF >= i) { RandCols = random("10"); RandRows = random("4") + "2"; Set("f" add i, RandCols add RandRows); trace((("f" add i) add " = ") add eval ("f" add i)); i = i + "1"; } setProperty("/yellow", _visible , "0"); setProperty("/blue", _visible , "0"); setProperty("/green", _visible , "0"); setProperty("/red", _visible , "0");
Frame 73
setProperty("/yellow", _visible , "1"); setProperty("/blue", _visible , "1"); setProperty("/green", _visible , "1"); setProperty("/red", _visible , "1"); level_is = "2"; noOfBricks = "55"; depth = "1"; rows = "3"; cols = "0"; cols_stop = "0"; while ("11" >= rows) { while (cols_stop >= cols) { duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } cols = "0"; cols_stop = cols_stop + "1"; rows = rows + "1"; } rows = "12"; cols = "0"; while (rows == "12") { while ("8" >= cols) { duplicateMovieClip ("/green", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } rows = rows + "1"; } rows = "12"; cols = "9"; duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; i = "1"; noOfC = "4"; while (noOfC >= i) { RandRows = random("10") + "3"; RandCols = random("10"); Set("c" add i, RandCols add RandRows); trace((("c" add i) add " = ") add eval ("c" add i)); i = i + "1"; } i = "1"; noOfE = "6"; while (noOfE >= i) { RandRows = random("10") + "3"; RandCols = random("10"); Set("e" add i, RandCols add RandRows); trace((("e" add i) add " = ") add eval ("e" add i)); i = i + "1"; } i = "1"; noOfSL = "6"; while (noOfSL >= i) { RandRows = random("10") + "3"; RandCols = random("10"); Set("sl" add i, RandCols add RandRows); trace((("sl" add i) add " = ") add eval ("sl" add i)); i = i + "1"; } i = "1"; noOfB = "2"; while (noOfB >= i) { RandCols = random("10"); RandRows = random("4") + "2"; Set("b" add i, RandCols add RandRows); trace((("b" add i) add " = ") add eval ("b" add i)); i = i + "1"; } i = "1"; noOfSH = "4"; while (noOfSH >= i) { RandCols = random("10"); RandRows = random("4") + "2"; Set("sh" add i, RandCols add RandRows); trace((("sh" add i) add " = ") add eval ("sh" add i)); i = i + "1"; } i = "1"; noOfF = "3"; while (noOfF >= i) { RandCols = random("10"); RandRows = random("4") + "2"; Set("f" add i, RandCols add RandRows); trace((("f" add i) add " = ") add eval ("f" add i)); i = i + "1"; } setProperty("/yellow", _visible , "0"); setProperty("/blue", _visible , "0"); setProperty("/green", _visible , "0"); setProperty("/red", _visible , "0");
Frame 77
setProperty("/yellow", _visible , "1"); setProperty("/blue", _visible , "1"); setProperty("/green", _visible , "1"); setProperty("/red", _visible , "1"); level_is = "3"; noOfBricks = "30"; depth = "1"; rows = "0"; cols = "0"; while ("10" >= rows) { while ("9" >= cols) { duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } cols = "0"; rows = rows + "5"; } rows = "4"; cols = "2"; while (rows == "4") { while ("9" >= cols) { duplicateMovieClip ("/yellow", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } rows = rows + "1"; } rows = "9"; cols = "0"; while (rows == "9") { while ("7" >= cols) { duplicateMovieClip ("/yellow", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } rows = rows + "1"; } rows = "14"; cols = "2"; while (rows == "14") { while ("9" >= cols) { duplicateMovieClip ("/yellow", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } rows = rows + "1"; } i = "1"; noOfC = "4"; while (noOfC >= i) { RandRows = random("11"); RandCols = random("10"); Set("c" add i, RandCols add RandRows); trace((("c" add i) add " = ") add eval ("c" add i)); i = i + "1"; } i = "1"; noOfE = "1"; while (noOfE >= i) { RandRows = random("11"); RandCols = random("10"); Set("e" add i, RandCols add RandRows); trace((("e" add i) add " = ") add eval ("e" add i)); i = i + "1"; } i = "1"; noOfSL = "1"; while (noOfSL >= i) { RandRows = random("11"); RandCols = random("10"); Set("sl" add i, RandCols add RandRows); trace((("sl" add i) add " = ") add eval ("sl" add i)); i = i + "1"; } i = "1"; noOfB = "2"; while (noOfB >= i) { RandRows = random("11"); RandCols = random("10"); Set("b" add i, RandCols add RandRows); trace((("b" add i) add " = ") add eval ("b" add i)); i = i + "1"; } i = "1"; noOfSH = "1"; while (noOfSH >= i) { RandRows = random("11"); RandCols = random("10"); Set("sh" add i, RandCols add RandRows); trace((("sh" add i) add " = ") add eval ("sh" add i)); i = i + "1"; } i = "1"; noOfF = "1"; while (noOfF >= i) { RandRows = random("11"); RandCols = random("10"); Set("f" add i, RandCols add RandRows); trace((("f" add i) add " = ") add eval ("f" add i)); i = i + "1"; } setProperty("/yellow", _visible , "0"); setProperty("/blue", _visible , "0"); setProperty("/green", _visible , "0"); setProperty("/red", _visible , "0");
Frame 81
setProperty("/yellow", _visible , "1"); setProperty("/blue", _visible , "1"); setProperty("/green", _visible , "1"); setProperty("/red", _visible , "1"); level_is = "4"; noOfBricks = "70"; depth = "1"; rows = "2"; cols = "1"; while ("3" >= cols) { duplicateMovieClip ("/blue", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } rows = "3"; cols = "1"; while ("3" >= cols) { duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } rows = "4"; cols = "1"; duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "4"; cols = "2"; duplicateMovieClip ("/yellow", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "4"; cols = "3"; duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "5"; cols = "1"; while ("7" >= rows) { while ("3" >= cols) { duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } cols = "1"; rows = rows + "1"; } rows = "8"; cols = "1"; duplicateMovieClip ("/yellow", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "8"; cols = "2"; duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "8"; cols = "3"; duplicateMovieClip ("/yellow", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "9"; cols = "1"; while ("11" >= rows) { while ("3" >= cols) { duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } cols = "1"; rows = rows + "1"; } rows = "12"; cols = "1"; duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "12"; cols = "2"; duplicateMovieClip ("/yellow", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "12"; cols = "3"; duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "13"; cols = "1"; while ("3" >= cols) { duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } rows = "14"; cols = "1"; while ("3" >= cols) { duplicateMovieClip ("/green", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } rows = "2"; cols = "1" + "5"; while (("3" + "5") >= cols) { duplicateMovieClip ("/blue", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } rows = "3"; cols = "1" + "5"; while (("3" + "5") >= cols) { duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } rows = "4"; cols = "1" + "5"; duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "4"; cols = "2" + "5"; duplicateMovieClip ("/yellow", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "4"; cols = "3" + "5"; duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "5"; cols = "1" + "5"; while ("7" >= rows) { while (("3" + "5") >= cols) { duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } cols = "1" + "5"; rows = rows + "1"; } rows = "8"; cols = "1" + "5"; duplicateMovieClip ("/yellow", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "8"; cols = "2" + "5"; duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "8"; cols = "3" + "5"; duplicateMovieClip ("/yellow", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "9"; cols = "1" + "5"; while ("11" >= rows) { while (("3" + "5") >= cols) { duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } cols = "1" + "5"; rows = rows + "1"; } rows = "12"; cols = "1" + "5"; duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "12"; cols = "2" + "5"; duplicateMovieClip ("/yellow", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "12"; cols = "3" + "5"; duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); depth = depth + "1"; rows = "13"; cols = "1" + "5"; while (("3" + "5") >= cols) { duplicateMovieClip ("/red", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } rows = "14"; cols = "1" + "5"; while (("3" + "5") >= cols) { duplicateMovieClip ("/green", ("brick" add cols) add rows, depth); setProperty(("brick" add cols) add rows, _x , "30" + ("40" * cols)); setProperty(("brick" add cols) add rows, _y , "20" + ("20" * rows)); cols = cols + "1"; depth = depth + "1"; } i = "1"; noOfC = "4"; while (noOfC >= i) { RandRows = random("11"); RandCols = random("10"); Set("c" add i, RandCols add RandRows); trace((("c" add i) add " = ") add eval ("c" add i)); i = i + "1"; } i = "1"; noOfE = "1"; while (noOfE >= i) { RandRows = random("11"); RandCols = random("10"); Set("e" add i, RandCols add RandRows); trace((("e" add i) add " = ") add eval ("e" add i)); i = i + "1"; } i = "1"; noOfSL = "1"; while (noOfSL >= i) { RandRows = random("11"); RandCols = random("10"); Set("sl" add i, RandCols add RandRows); trace((("sl" add i) add " = ") add eval ("sl" add i)); i = i + "1"; } i = "1"; noOfB = "2"; while (noOfB >= i) { RandRows = random("11"); RandCols = random("10"); Set("b" add i, RandCols add RandRows); trace((("b" add i) add " = ") add eval ("b" add i)); i = i + "1"; } i = "1"; noOfSH = "1"; while (noOfSH >= i) { RandRows = random("11"); RandCols = random("10"); Set("sh" add i, RandCols add RandRows); trace((("sh" add i) add " = ") add eval ("sh" add i)); i = i + "1"; } i = "1"; noOfF = "1"; while (noOfF >= i) { RandRows = random("11"); RandCols = random("10"); Set("f" add i, RandCols add RandRows); trace((("f" add i) add " = ") add eval ("f" add i)); i = i + "1"; } setProperty("/yellow", _visible , "0"); setProperty("/blue", _visible , "0"); setProperty("/green", _visible , "0"); setProperty("/red", _visible , "0");
Frame 100
rows = "0"; cols = "0"; while ("18" >= rows) { while ("9" >= cols) { removeMovieClip(("/brick" add cols) add rows); cols = cols + "1"; } cols = "0"; rows = rows + "1"; }
Frame 200
_root.gameover = 1; stop();
Symbol 1 MovieClip Frame 9
stop();
Symbol 11 Button
on (release) { stopAllSounds(); play(); }
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 2
Set("../:onscreen_E", "1"); play();
Symbol 21 MovieClip Frame 3
Set("../:onscreen_E", "1");
Symbol 21 MovieClip Frame 4
Set("../:onscreen_E", "1");
Symbol 21 MovieClip Frame 5
Set("../:onscreen_E", "1");
Symbol 21 MovieClip Frame 6
Set("../:onscreen_E", "1");
Symbol 21 MovieClip Frame 7
Set("../:onscreen_E", "1");
Symbol 21 MovieClip Frame 8
Set("../:onscreen_E", "1");
Symbol 21 MovieClip Frame 9
Set("../:onscreen_E", "1");
Symbol 21 MovieClip Frame 10
Set("../:onscreen_E", "1"); gotoAndPlay (2);
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 2
Set("../:onscreen_C", "1"); play();
Symbol 28 MovieClip Frame 3
Set("../:onscreen_C", "1");
Symbol 28 MovieClip Frame 4
Set("../:onscreen_C", "1");
Symbol 28 MovieClip Frame 5
Set("../:onscreen_C", "1");
Symbol 28 MovieClip Frame 6
Set("../:onscreen_C", "1");
Symbol 28 MovieClip Frame 7
Set("../:onscreen_C", "1");
Symbol 28 MovieClip Frame 8
Set("../:onscreen_C", "1");
Symbol 28 MovieClip Frame 9
Set("../:onscreen_C", "1");
Symbol 28 MovieClip Frame 10
Set("../:onscreen_C", "1"); gotoAndPlay (2);
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 2
Set("../:onscreen_L", "1"); play();
Symbol 33 MovieClip Frame 3
Set("../:onscreen_L", "1");
Symbol 33 MovieClip Frame 4
Set("../:onscreen_L", "1");
Symbol 33 MovieClip Frame 5
Set("../:onscreen_L", "1");
Symbol 33 MovieClip Frame 6
Set("../:onscreen_L", "1");
Symbol 33 MovieClip Frame 7
Set("../:onscreen_L", "1");
Symbol 33 MovieClip Frame 8
Set("../:onscreen_L", "1");
Symbol 33 MovieClip Frame 9
Set("../:onscreen_L", "1");
Symbol 33 MovieClip Frame 10
Set("../:onscreen_L", "1"); gotoAndPlay (2);
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 2
Set("../:onscreen_SL", "1"); play();
Symbol 38 MovieClip Frame 3
Set("../:onscreen_SL", "1");
Symbol 38 MovieClip Frame 4
Set("../:onscreen_SL", "1");
Symbol 38 MovieClip Frame 5
Set("../:onscreen_SL", "1");
Symbol 38 MovieClip Frame 6
Set("../:onscreen_SL", "1");
Symbol 38 MovieClip Frame 7
Set("../:onscreen_SL", "1");
Symbol 38 MovieClip Frame 8
Set("../:onscreen_SL", "1");
Symbol 38 MovieClip Frame 9
Set("../:onscreen_SL", "1");
Symbol 38 MovieClip Frame 10
Set("../:onscreen_SL", "1"); gotoAndPlay (2);
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 2
Set("../:onscreen_B", "1"); play();
Symbol 43 MovieClip Frame 3
Set("../:onscreen_B", "1");
Symbol 43 MovieClip Frame 4
Set("../:onscreen_B", "1");
Symbol 43 MovieClip Frame 5
Set("../:onscreen_B", "1");
Symbol 43 MovieClip Frame 6
Set("../:onscreen_B", "1");
Symbol 43 MovieClip Frame 7
Set("../:onscreen_B", "1");
Symbol 43 MovieClip Frame 8
Set("../:onscreen_B", "1");
Symbol 43 MovieClip Frame 9
Set("../:onscreen_B", "1");
Symbol 43 MovieClip Frame 10
Set("../:onscreen_B", "1"); gotoAndPlay (2);
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 2
Set("../:onscreen_SH", "1"); play();
Symbol 48 MovieClip Frame 3
Set("../:onscreen_SH", "1");
Symbol 48 MovieClip Frame 4
Set("../:onscreen_SH", "1");
Symbol 48 MovieClip Frame 5
Set("../:onscreen_SH", "1");
Symbol 48 MovieClip Frame 6
Set("../:onscreen_SH", "1");
Symbol 48 MovieClip Frame 7
Set("../:onscreen_SH", "1");
Symbol 48 MovieClip Frame 8
Set("../:onscreen_SH", "1");
Symbol 48 MovieClip Frame 9
Set("../:onscreen_SH", "1");
Symbol 48 MovieClip Frame 10
Set("../:onscreen_SH", "1"); gotoAndPlay (2);
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 2
Set("../:onscreen_F", "1"); play();
Symbol 52 MovieClip Frame 3
Set("../:onscreen_F", "1");
Symbol 52 MovieClip Frame 4
Set("../:onscreen_F", "1");
Symbol 52 MovieClip Frame 5
Set("../:onscreen_F", "1");
Symbol 52 MovieClip Frame 6
Set("../:onscreen_F", "1");
Symbol 52 MovieClip Frame 7
Set("../:onscreen_F", "1");
Symbol 52 MovieClip Frame 8
Set("../:onscreen_F", "1");
Symbol 52 MovieClip Frame 9
Set("../:onscreen_F", "1");
Symbol 52 MovieClip Frame 10
Set("../:onscreen_F", "1"); gotoAndPlay (2);
Symbol 55 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 2
brickNumber = ../:brickNo; Set("../:noOfBricks", ../:noOfBricks - "1"); Set("../:score", ../:score + "200"); i = "1"; while (../:noOfB >= i) { if (brickNumber == eval ("../:b" add i)) { brick_x = getProperty("../brick" add brickNumber, _x); brick_y = getProperty("../brick" add brickNumber, _y); duplicateMovieClip ("../bonuslife", "bonuslife" add i, ../:depth + "1"); setProperty("../bonuslife" add i, _x , brick_x); setProperty("../bonuslife" add i, _y , brick_y); tellTarget ("../bonuslife" add i) { gotoAndPlay (2); }; Set("../:depth", ../:depth + "1"); i = ../:noOfB; } i = i + "1"; } i = "1"; while (../:noOfE >= i) { if (brickNumber == eval ("../:e" add i)) { brick_x = getProperty("../brick" add brickNumber, _x); brick_y = getProperty("../brick" add brickNumber, _y); duplicateMovieClip ("../expand", "expand" add i, ../:depth + "1"); setProperty("../expand" add i, _x , brick_x); setProperty("../expand" add i, _y , brick_y); tellTarget ("../expand" add i) { gotoAndPlay (2); }; Set("../:depth", ../:depth + "1"); i = ../:noOfE; } i = i + "1"; } i = "1"; while (../:noOfC >= i) { if (brickNumber == eval ("../:c" add i)) { brick_x = getProperty("../brick" add brickNumber, _x); brick_y = getProperty("../brick" add brickNumber, _y); duplicateMovieClip ("../catch", "catch" add i, ../:depth + "1"); setProperty("../catch" add i, _x , brick_x); setProperty("../catch" add i, _y , brick_y); tellTarget ("../catch" add i) { gotoAndPlay (2); }; Set("../:depth", ../:depth + "1"); i = ../:noOfC; } i = i + "1"; } i = "1"; while (../:noOfSL >= i) { if (brickNumber == eval ("../:sl" add i)) { brick_x = getProperty("../brick" add brickNumber, _x); brick_y = getProperty("../brick" add brickNumber, _y); duplicateMovieClip ("../slow", "slow" add i, ../:depth + "1"); setProperty("../slow" add i, _x , brick_x); setProperty("../slow" add i, _y , brick_y); tellTarget ("../slow" add i) { gotoAndPlay (2); }; Set("../:depth", ../:depth + "1"); i = ../:noOfSL; } i = i + "1"; } i = "1"; while (../:noOfF >= i) { if (brickNumber == eval ("../:f" add i)) { brick_x = getProperty("../brick" add brickNumber, _x); brick_y = getProperty("../brick" add brickNumber, _y); duplicateMovieClip ("../fast", "fast" add i, ../:depth + "1"); setProperty("../fast" add i, _x , brick_x); setProperty("../fast" add i, _y , brick_y); tellTarget ("../fast" add i) { gotoAndPlay (2); }; Set("../:depth", ../:depth + "1"); i = ../:noOfF; } i = i + "1"; } i = "1"; while (../:noOfSH >= i) { if (brickNumber == eval ("../:sh" add i)) { brick_x = getProperty("../brick" add brickNumber, _x); brick_y = getProperty("../brick" add brickNumber, _y); duplicateMovieClip ("../shrink", "shrink" add i, ../:depth + "1"); setProperty("../shrink" add i, _x , brick_x); setProperty("../shrink" add i, _y , brick_y); tellTarget ("../shrink" add i) { gotoAndPlay (2); }; Set("../:depth", ../:depth + "1"); i = ../:noOfSH; } i = i + "1"; } gotoAndPlay (5);
Symbol 55 MovieClip Frame 5
play();
Symbol 55 MovieClip Frame 15
removeMovieClip("/brick" add brickNumber); stop();
Symbol 59 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 2
stop();
Symbol 59 MovieClip Frame 3
brickNumber = ../:brickNo; Set("../:noOfBricks", ../:noOfBricks - "1"); Set("../:score", ../:score + "500"); gotoAndPlay (5);
Symbol 59 MovieClip Frame 5
play();
Symbol 59 MovieClip Frame 15
removeMovieClip("/brick" add brickNumber); stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 2
stop();
Symbol 65 MovieClip Frame 3
stop();
Symbol 65 MovieClip Frame 4
brickNumber = ../:brickNo; Set("../:noOfBricks", ../:noOfBricks - "1"); gotoAndPlay (5);
Symbol 65 MovieClip Frame 5
play();
Symbol 65 MovieClip Frame 15
setProperty("/brick" add brickNumber, _visible , "0"); stop();
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
gotoAndStop (1);
Symbol 71 MovieClip Frame 3
gotoAndStop (1);
Symbol 71 MovieClip Frame 4
gotoAndStop (1);
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 31
gotoAndStop (1);
Symbol 88 MovieClip Frame 127
gotoAndStop (1);
Symbol 88 MovieClip Frame 240
gotoAndStop (1);
Symbol 88 MovieClip Frame 442
gotoAndStop (1);
Symbol 88 MovieClip Frame 500
gotoAndStop (1);
Symbol 88 MovieClip Frame 595
gotoAndStop (1);
Symbol 88 MovieClip Frame 690
gotoAndStop (1);
Symbol 88 MovieClip Frame 785
gotoAndStop (1);
Symbol 88 MovieClip Frame 880
gotoAndStop (1);
Symbol 88 MovieClip Frame 975
gotoAndStop (1);
Symbol 88 MovieClip Frame 1070
gotoAndStop (1);
Symbol 106 MovieClip Frame 1
if (this.sessionstarted != 1) { this.arcade = new LoadVars(); this.sessionvars = new LoadVars(); this.arcade.gamename = "arkanoid"; this.arcade.sessdo = "sessionstart"; this.arcade.sendAndLoad("arcade.php", sessionvars, "POST"); if (this.sessionvars.sessiontype != 2) { _root.is_a_challenge = 0; } else { _root.is_a_challenge = 1; } this.sessionstarted = 1; } if (_root.gameover == 1) { if ((this.askpermission != 1) && (this.sessionvars.connStatus == 1)) { this.prequestvars = new LoadVars(); this.pranswer = new LoadVars(); this.prequestvars.gametime = this.sessionvars.gametime; this.prequestvars.fakekey = this.sessionvars.initbar; _root.score = int(Number(_root.score)); if (_root.score != 0) { this.prequestvars.score = _root.score; } else { this.prequestvars.score = -1; } this.prequestvars.id = this.sessionvars.lastid; this.prequestvars.sessdo = "permrequest"; this.prequestvars.note = (this.prequestvars.id * this.prequestvars.score) * this.prequestvars.fakekey; this.prequestvars.sendAndLoad("./arcade.php", this.pranswer, "POST"); this.askpermission = 1; } if ((this.pranswer.validate == 1) && (this.finalsent != 1)) { this.burnscore = new LoadVars(); this.burnscore.microone = this.pranswer.microone; this.burnscore.gametime = this.prequestvars.gametime; this.burnscore.id = this.prequestvars.id; if (_root.score == 0) { this.burnscore.noscore = 1; } this.burnscore.sessdo = "burn"; this.burnscore.send("./arcade.php", "_self", "POST"); this.finalsent = 1; } }
Symbol 113 Button
on (release) { stopAllSounds(); play(); }
Symbol 129 Button
on (release) { if (button == "1") { started = "1"; button = "0"; } else if (button == "2") { release = "1"; caughtBall = "0"; button = "2"; } else if (button == "3") { trace("you've got laser"); } else { trace("you've got nothing"); } }
Symbol 131 Button
on (release) { if (button == "1") { started = "1"; button = "0"; } else if (button == "2") { release = "1"; caughtBall = "0"; button = "2"; } else if (button == "3") { trace("you've got laser"); } else { trace("you've got nothing"); } }

Library Items

Symbol 3 FontUsed by:2 17 75 76 77 78 79 80 81 82 83 84 85 86 87 118 121 124 136 137 140
Symbol 2 TextUses:3Used by:1
Symbol 4 SoundUsed by:1
Symbol 1 MovieClipUses:2 4Used by:Timeline
Symbol 5 GraphicUsed by:Timeline
Symbol 6 GraphicUsed by:Timeline
Symbol 7 GraphicUsed by:Timeline
Symbol 9 FontUsed by:8
Symbol 8 TextUses:9Used by:Timeline
Symbol 10 GraphicUsed by:Timeline
Symbol 12 GraphicUsed by:11 113
Symbol 13 GraphicUsed by:11 113
Symbol 14 GraphicUsed by:11 113
Symbol 15 GraphicUsed by:11 113
Symbol 16 SoundUsed by:11 88 113
Symbol 11 ButtonUses:12 13 14 15 16Used by:Timeline
Symbol 17 TextUses:3Used by:Timeline
Symbol 18 GraphicUsed by:Timeline
Symbol 20 FontUsed by:19
Symbol 19 TextUses:20Used by:Timeline
Symbol 22 GraphicUsed by:21 28 33 38 43 48 52
Symbol 23 GraphicUsed by:21
Symbol 25 FontUsed by:24 30 35 40 45 53
Symbol 24 TextUses:25Used by:21
Symbol 26 ShapeTweeningUsed by:21
Symbol 27 GraphicUsed by:21
Symbol 21 MovieClipUses:22 23 24 26 27Used by:Timeline
Symbol 29 GraphicUsed by:28
Symbol 30 TextUses:25Used by:28
Symbol 31 ShapeTweeningUsed by:28
Symbol 32 GraphicUsed by:28
Symbol 28 MovieClipUses:22 29 30 31 32Used by:Timeline
Symbol 34 GraphicUsed by:33
Symbol 35 TextUses:25Used by:33
Symbol 36 ShapeTweeningUsed by:33
Symbol 37 GraphicUsed by:33
Symbol 33 MovieClipUses:22 34 35 36 37Used by:Timeline
Symbol 39 GraphicUsed by:38
Symbol 40 TextUses:25Used by:38 48
Symbol 41 ShapeTweeningUsed by:38
Symbol 42 GraphicUsed by:38
Symbol 38 MovieClipUses:22 39 40 41 42Used by:Timeline
Symbol 44 GraphicUsed by:43
Symbol 45 TextUses:25Used by:43
Symbol 46 ShapeTweeningUsed by:43
Symbol 47 GraphicUsed by:43
Symbol 43 MovieClipUses:22 44 45 46 47Used by:Timeline
Symbol 49 GraphicUsed by:48 52
Symbol 50 ShapeTweeningUsed by:48
Symbol 51 GraphicUsed by:48 52
Symbol 48 MovieClipUses:22 49 40 50 51Used by:Timeline
Symbol 53 TextUses:25Used by:52
Symbol 54 ShapeTweeningUsed by:52
Symbol 52 MovieClipUses:22 49 53 54 51Used by:Timeline
Symbol 56 GraphicUsed by:55
Symbol 57 ShapeTweeningUsed by:55
Symbol 58 GraphicUsed by:55
Symbol 55 MovieClipUses:56 57 58Used by:Timeline
Symbol 60 GraphicUsed by:59 65
Symbol 61 GraphicUsed by:59
Symbol 62 GraphicUsed by:59
Symbol 63 ShapeTweeningUsed by:59
Symbol 64 GraphicUsed by:59
Symbol 59 MovieClipUses:60 61 62 63 64Used by:Timeline
Symbol 66 GraphicUsed by:65
Symbol 67 GraphicUsed by:65
Symbol 68 GraphicUsed by:65
Symbol 69 ShapeTweeningUsed by:65
Symbol 70 GraphicUsed by:65
Symbol 65 MovieClipUses:60 66 67 68 69 70Used by:Timeline
Symbol 72 GraphicUsed by:71
Symbol 73 ShapeTweeningUsed by:71
Symbol 74 GraphicUsed by:71
Symbol 71 MovieClipUses:72 73 74Used by:Timeline
Symbol 75 TextUses:3Used by:Timeline
Symbol 76 TextUses:3Used by:Timeline
Symbol 77 TextUses:3Used by:Timeline
Symbol 78 TextUses:3Used by:Timeline
Symbol 79 TextUses:3Used by:Timeline
Symbol 80 TextUses:3Used by:Timeline
Symbol 81 TextUses:3Used by:Timeline
Symbol 82 TextUses:3Used by:Timeline
Symbol 83 TextUses:3Used by:Timeline
Symbol 84 TextUses:3Used by:Timeline
Symbol 85 TextUses:3Used by:Timeline
Symbol 86 TextUses:3Used by:Timeline
Symbol 87 TextUses:3Used by:Timeline
Symbol 89 GraphicUsed by:88
Symbol 90 SoundUsed by:88
Symbol 91 SoundUsed by:88
Symbol 92 SoundUsed by:88
Symbol 93 SoundUsed by:88
Symbol 94 SoundUsed by:88
Symbol 95 SoundUsed by:88
Symbol 96 SoundUsed by:88
Symbol 97 SoundUsed by:88
Symbol 98 SoundUsed by:88
Symbol 99 SoundUsed by:88
Symbol 88 MovieClipUses:89 90 91 92 93 16 94 95 96 97 98 99Used by:Timeline
Symbol 101 FontUsed by:102
Symbol 102 EditableTextUses:101Used by:100
Symbol 100 MovieClipUses:102Used by:Timeline
Symbol 104 FontUsed by:105
Symbol 105 EditableTextUses:104Used by:103
Symbol 103 MovieClipUses:105Used by:Timeline
Symbol 106 MovieClipUsed by:Timeline
Symbol 108 FontUsed by:109
Symbol 109 EditableTextUses:108Used by:107
Symbol 107 MovieClipUses:109Used by:Timeline
Symbol 111 FontUsed by:112
Symbol 112 EditableTextUses:111Used by:110
Symbol 110 MovieClipUses:112Used by:Timeline
Symbol 113 ButtonUses:12 13 14 15 16
Symbol 115 GraphicUsed by:114
Symbol 114 MovieClipUses:115Used by:Timeline
Symbol 117 GraphicUsed by:116
Symbol 116 MovieClipUses:117Used by:Timeline
Symbol 118 TextUses:3Used by:Timeline
Symbol 119 FontUsed by:120
Symbol 120 EditableTextUses:119Used by:Timeline
Symbol 121 TextUses:3Used by:Timeline
Symbol 122 FontUsed by:123
Symbol 123 EditableTextUses:122Used by:Timeline
Symbol 124 TextUses:3Used by:Timeline
Symbol 125 FontUsed by:126
Symbol 126 EditableTextUses:125Used by:Timeline
Symbol 127 FontUsed by:128
Symbol 128 EditableTextUses:127Used by:Timeline
Symbol 130 GraphicUsed by:129 131
Symbol 129 ButtonUses:130Used by:Timeline
Symbol 131 ButtonUses:130
Symbol 132 FontUsed by:133
Symbol 133 EditableTextUses:132Used by:Timeline
Symbol 134 FontUsed by:135
Symbol 135 EditableTextUses:134Used by:Timeline
Symbol 136 TextUses:3Used by:Timeline
Symbol 137 TextUses:3Used by:Timeline
Symbol 139 FontUsed by:138
Symbol 138 TextUses:139Used by:Timeline
Symbol 140 TextUses:3Used by:Timeline

Instance Names

"bgmusic"Frame 1Symbol 1 MovieClip
"expand"Frame 1Symbol 21 MovieClip
"catch"Frame 1Symbol 28 MovieClip
"laser"Frame 1Symbol 33 MovieClip
"multiballs"Frame 1Symbol 38 MovieClip
"bridge"Frame 1Symbol 43 MovieClip
"display_red"Frame 1Symbol 55 MovieClip
"display_green"Frame 1Symbol 59 MovieClip
"display_blue"Frame 1Symbol 65 MovieClip
"display_yellow"Frame 1Symbol 71 MovieClip
"red"Frame 1Symbol 55 MovieClip
"green"Frame 1Symbol 59 MovieClip
"blue"Frame 1Symbol 65 MovieClip
"yellow"Frame 1Symbol 71 MovieClip
"soundFX"Frame 1Symbol 88 MovieClip
"expand"Frame 1Symbol 21 MovieClip
"laser"Frame 1Symbol 33 MovieClip
"slow"Frame 1Symbol 38 MovieClip
"bonuslife"Frame 1Symbol 43 MovieClip
"catch"Frame 1Symbol 28 MovieClip
"shrink"Frame 1Symbol 48 MovieClip
"fast"Frame 1Symbol 52 MovieClip
"bat"Frame 2Symbol 114 MovieClip
"ball"Frame 2Symbol 116 MovieClip

Labels

"GameCode"Frame 4
"NE"Frame 7
"NW"Frame 9
"SE"Frame 11
"SW"Frame 13
"Expand"Frame 16
"Catch"Frame 19
"Slow"Frame 22
"BonusLife"Frame 25
"Shrink"Frame 28
"Fast"Frame 31
"CatchState"Frame 34
"CatchLoop"Frame 35
"reset_capsules"Frame 38
"reset_variables"Frame 44
"NewLife"Frame 50
"NewLifeLoop"Frame 51
"LoseLife"Frame 55
"NextLevel"Frame 62
"setup_level1"Frame 69
"setup_level2"Frame 73
"setup_level3"Frame 77
"setup_level4"Frame 81
"game_over"Frame 100
"explode"Symbol 55 MovieClip Frame 5
"explode"Symbol 59 MovieClip Frame 5
"explode"Symbol 65 MovieClip Frame 5
"hit"Symbol 88 MovieClip Frame 2
"lose"Symbol 88 MovieClip Frame 35
"hitBrick"Symbol 88 MovieClip Frame 130
"win"Symbol 88 MovieClip Frame 245
"next_level"Symbol 88 MovieClip Frame 445
"bonuslife"Symbol 88 MovieClip Frame 505
"catch"Symbol 88 MovieClip Frame 600
"expand"Symbol 88 MovieClip Frame 695
"fast"Symbol 88 MovieClip Frame 790
"shrink"Symbol 88 MovieClip Frame 885
"slow"Symbol 88 MovieClip Frame 980

Dynamic Text Variables

scoreSymbol 120 EditableText""
speed_indSymbol 123 EditableText""
lives_leftSymbol 126 EditableText""
bricksLeftSymbol 128 EditableText""
scoreSymbol 133 EditableText""
level_isSymbol 135 EditableText""




http://swfchan.com/9/42216/info.shtml
Created: 10/5 -2019 01:14:25 Last modified: 10/5 -2019 01:14:25 Server time: 21/12 -2024 08:06:40