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

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

178461950.swf

This is the info page for
Flash #11694

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


Text
Loading... 27k

FLASH 4 GAME

TETRIS

START

START

Next

Download
tetris.fla

Download
tetris.fla

Guestbook

Guestbook

Level

1

0

Line

High

0

Score

0

(83k)

www.hkflash.com

www.hkflash.com

New Game

New Game

Game Over

ActionScript [AS1/AS2]

Frame 2
while (ny < "20") { ny = ny + "1"; nx = "0"; while (nx < "10") { nx = nx + "1"; duplicateMovieClip ("box", ("b" add (nx + "20")) add (ny + "20"), (ny * "10") + nx); setProperty(("b" add (nx + "20")) add (ny + "20"), _x , (nx * "19") + "150"); setProperty(("b" add (nx + "20")) add (ny + "20"), _y , ny * "19"); Set(("c" add (nx + "20")) add "41", "1"); Set(("c" add (nx + "20")) add "20", "0"); Set(("c" add (nx + "20")) add "19", "0"); Set(("c" add (nx + "20")) add "18", "0"); } Set("c20" add (ny + "20"), "1"); Set("c31" add (ny + "20"), "1"); } ny = "0"; nx = "0"; while (ny < "4") { ny = ny + "1"; while (nx < "4") { nx = nx + "1"; Set(("x1" add ny) add nx, substring("1223323212233232", ((ny - "1") * "4") + nx, "1")); Set(("y1" add ny) add nx, substring("2233122322331223", ((ny - "1") * "4") + nx, "1")); Set(("x2" add ny) add nx, substring("3123222312312333", ((ny - "1") * "4") + nx, "1")); Set(("y2" add ny) add nx, substring("2333123322231123", ((ny - "1") * "4") + nx, "1")); Set(("x3" add ny) add nx, substring("2312223323122233", ((ny - "1") * "4") + nx, "1")); Set(("y3" add ny) add nx, substring("2233122322331223", ((ny - "1") * "4") + nx, "1")); Set(("x4" add ny) add nx, substring("1123232212333332", ((ny - "1") * "4") + nx, "1")); Set(("y4" add ny) add nx, substring("2333112322231233", ((ny - "1") * "4") + nx, "1")); Set(("x5" add ny) add nx, substring("2123223212323323", ((ny - "1") * "4") + nx, "1")); Set(("y5" add ny) add nx, substring("2333122322231223", ((ny - "1") * "4") + nx, "1")); Set(("x6" add ny) add nx, substring("1234222212342222", ((ny - "1") * "4") + nx, "1")); Set(("y6" add ny) add nx, substring("3333123433331234", ((ny - "1") * "4") + nx, "1")); Set(("x7" add ny) add nx, substring("2323232323232323", ((ny - "1") * "4") + nx, "1")); Set(("y7" add ny) add nx, substring("2233223322332233", ((ny - "1") * "4") + nx, "1")); duplicateMovieClip ("box", ("bn" add nx) add ny, ((ny * "4") + nx) + "210"); setProperty(("bn" add nx) add ny, _x , (nx * "19") + "360"); setProperty(("bn" add nx) add ny, _y , (ny * "19") + "20"); } nx = "0"; } sc1 = "10"; sc2 = "30"; sc3 = "60"; sc4 = "120"; ny = "0"; ts = "1"; tn = "1"; loadMovie ("bg1c.swf", "bg");
Frame 3
ifFrameLoaded (55) { gotoAndStop (5); }
Frame 4
gotoAndPlay (3);
Frame 8
stop();
Frame 11
n = "0"; while (n < "4") { n = n + "1"; tellTarget (("bn" add eval ((("x" add tn) add "1") add n)) add eval ((("y" add tn) add "1") add n)) { gotoAndStop (1); }; } tn = random("7") + "1"; ny = "0"; line = "0"; while (ny < "20") { ny = ny + "1"; nx = "0"; while (nx < "10") { nx = nx + "1"; Set(("c" add (nx + "20")) add (ny + "20"), "0"); tellTarget (("b" add (nx + "20")) add (ny + "20")) { gotoAndStop (1); }; } } n = "0"; while (n < "7") { n = n + "1"; tellTarget ("c" add n) { gotoAndStop (1); }; } ny = high * "2"; while ("0" < ny) { nx = "0"; while (nx < "10") { nx = nx + "1"; if (random("2") == "1") { Set(("c" add (nx + "20")) add ("41" - ny), "1"); tellTarget (("b" add (nx + "20")) add ("41" - ny)) { gotoAndStop(/:lev + "1"); }; } } ny = ny - "1"; } sc = "0";
Frame 12
tc = tn; tellTarget ("c" add tc) { nextFrame(); }; tn = random("7") + "1"; n = "0"; while (n < "4") { n = n + "1"; tellTarget (("bn" add eval ((("x" add tc) add "1") add n)) add eval ((("y" add tc) add "1") add n)) { gotoAndStop (1); }; } n = "0"; while (n < "4") { n = n + "1"; tellTarget (("bn" add eval ((("x" add tn) add "1") add n)) add eval ((("y" add tn) add "1") add n)) { gotoAndStop(/:tn + "1"); }; } ts = "1"; x = "3"; y = "0"; call("addbox");
Frame 13
ny = "0"; yn = "0"; while (yn == "0") { ny = ny + "1"; n = "0"; while (n < "4") { n = n + "1"; if ("0" < eval (("c" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add (((y + eval ((("y" add tc) add ts) add n)) + "20") + ny))) { yn = "1"; } } } call("delbox"); y = (y + ny) - "1"; n = "0"; while (n < "4") { n = n + "1"; Set(("c" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add ((y + eval ((("y" add tc) add ts) add n)) + "20"), "1"); tellTarget (("b" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add ((y + eval ((("y" add tc) add ts) add n)) + "20")) { gotoAndStop(/:lev + "1"); }; } gotoAndPlay (26);
Frame 14
n = "0"; yn = "0"; while (n < "4") { n = n + "1"; if ("0" < eval (("c" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add ((y + eval ((("y" add tc) add ts) add n)) + "21"))) { yn = "1"; } } if (yn == "0") { call("delbox"); y = y + "1"; call("addbox"); gotoAndPlay (28); } else { n = "0"; while (n < "4") { n = n + "1"; Set(("c" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add ((y + eval ((("y" add tc) add ts) add n)) + "20"), "1"); tellTarget (("b" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add ((y + eval ((("y" add tc) add ts) add n)) + "20")) { gotoAndStop(/:lev + "1"); }; } gotoAndPlay (26); }
Frame 16
n = "0"; yn = "0"; while (n < "4") { n = n + "1"; if ("0" < eval (("c" add ((x + eval ((("x" add tc) add ts) add n)) + "19")) add ((y + eval ((("y" add tc) add ts) add n)) + "20"))) { yn = "1"; } } if (yn == "0") { call("delbox"); x = x - "1"; call("addbox"); }
Frame 17
n = "0"; yn = "0"; while (n < "4") { n = n + "1"; if ("0" < eval (("c" add ((x + eval ((("x" add tc) add ts) add n)) + "21")) add ((y + eval ((("y" add tc) add ts) add n)) + "20"))) { yn = "1"; } } if (yn == "0") { call("delbox"); x = x + "1"; call("addbox"); }
Frame 18
n = "0"; yn = "0"; while (n < "4") { n = n + "1"; ts1 = ts + "1"; if (ts1 == "5") { ts1 = "1"; } if ("0" < eval (("c" add ((x + eval ((("x" add tc) add ts1) add n)) + "20")) add ((y + eval ((("y" add tc) add ts1) add n)) + "20"))) { yn = "1"; } } if (yn == "0") { call("delbox"); ts = ts + "1"; if (ts == "5") { ts = "1"; } call("addbox"); }
Frame 20
n = "0"; while (n < "4") { n = n + "1"; tellTarget (("b" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add ((y + eval ((("y" add tc) add ts) add n)) + "20")) { gotoAndStop(/:tc + "1"); }; }
Frame 21
n = "0"; while (n < "4") { n = n + "1"; tellTarget (("b" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add ((y + eval ((("y" add tc) add ts) add n)) + "20")) { gotoAndStop (1); }; }
Frame 22
n = "0"; while (n < "10") { n = n + "1"; n1 = (y + n3) + "21"; while ("21" < n1) { n1 = n1 - "1"; n2 = eval (("c" add (n + "20")) add (n1 - n3)); if (n2 <> eval (("c" add (n + "20")) add n1)) { Set(("c" add (n + "20")) add n1, n2); if (n2 == "0") { tellTarget (("b" add (n + "20")) add n1) { gotoAndStop (1); }; } else { tellTarget (("b" add (n + "20")) add n1) { gotoAndStop(/:lev + "1"); }; } } } }
Frame 24
ny = "0"; while (ny < "20") { ny = ny + "1"; nx = "0"; while (nx < "10") { nx = nx + "1"; if (eval (("c" add (nx + "20")) add (ny + "20")) == "1") { tellTarget (("b" add (nx + "20")) add (ny + "20")) { gotoAndStop(/:lev + "1"); }; } } }
Frame 27
ny = "5"; n3 = "0"; nd = "0"; while ("1" < ny) { ny = ny - "1"; nx = "0"; if (((y + ny) + "20") < "41") { yn = "1"; while (nx < "10") { nx = nx + "1"; if (eval (("c" add (nx + "20")) add ((y + ny) + "20")) == "0") { yn = "0"; } } if (yn == "1") { n3 = n3 + "1"; nd = nd + "1"; } else if ("0" < nd) { n = "0"; while (n < "10") { n = n + "1"; n2 = eval (("c" add (n + "20")) add ((y + ny) + "20")); if (n2 <> eval (("c" add (n + "20")) add (((ny + y) + "20") + nd))) { Set(("c" add (n + "20")) add (((ny + y) + "20") + nd), n2); if (n2 == "0") { tellTarget (("b" add (n + "20")) add (((ny + y) + "20") + nd)) { gotoAndStop (1); }; } else { tellTarget (("b" add (n + "20")) add (((ny + y) + "20") + nd)) { gotoAndStop(/:lev + "1"); }; } } } } } } if ("0" < n3) { call("delline"); sc = sc + (eval ("sc" add n3) * lev); line = line + n3; if ((lev < (int(line / "10") + "1")) and (lev < "21")) { lev = lev + "1"; call("uplev"); } } if ((n3 == "0") and (y == "0")) { gotoAndStop (54); } else { call("next"); gotoAndPlay (28); }
Frame 28
if (lev < "6") { gotoAndPlay("l" add lev); } else { gotoAndPlay (51); }
Frame 35
call("dn1");
Frame 41
call("dn1");
Frame 46
call("dn1");
Frame 50
call("dn1");
Frame 53
call("dn1");
Frame 54
n = "0"; while (n < "10") { n = n + "1"; tellTarget (("b" add (n + "20")) add "30") { gotoAndStop (1); }; }
Symbol 22 MovieClip Frame 1
stop();
Symbol 32 Button
on (release) { play(); }
Symbol 37 Button
on (release) { getURL ("http://www.hkflash.com/tetris/tetris.zip"); }
Symbol 39 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 70
stop();
Symbol 44 Button
on (release) { getURL ("http://www.hkflash.com/guestbook.htm", "_blank"); }
Symbol 49 Button
on (release) { if (lev < "5") { lev = lev + "1"; call("uplev"); } }
Symbol 50 Button
on (release) { if ("1" < lev) { lev = lev - "1"; call("uplev"); } }
Symbol 54 Button
on (release) { if (high < "5") { high = high + "1"; } }
Symbol 55 Button
on (release) { if ("0" < high) { high = high - "1"; } }
Symbol 63 Button
on (release) { getURL ("http://www.hkflash.com", "_blank"); }
Symbol 68 Button
on (release, keyPress "n") { call("new"); call("next"); gotoAndPlay (28); }
Symbol 69 Button
on (release, keyPress "n") { call("new"); call("next"); gotoAndPlay (28); } on (keyPress "<Down>") { call("dn"); } on (keyPress "<Left>") { call("lt"); } on (keyPress "<Right>") { call("rt"); } on (keyPress "<Space>") { call("sp"); }

Library Items

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

Instance Names

"box"Frame 1Symbol 22 MovieClip
"bg"Frame 2Symbol 24 MovieClip
"c1"Frame 6Symbol 39 MovieClip
"c2"Frame 6Symbol 39 MovieClip
"c3"Frame 6Symbol 39 MovieClip
"c4"Frame 6Symbol 39 MovieClip
"c5"Frame 6Symbol 39 MovieClip
"c6"Frame 6Symbol 39 MovieClip
"c7"Frame 6Symbol 39 MovieClip

Labels

"s1"Frame 2
"loading"Frame 3
"s2"Frame 8
"new"Frame 11
"next"Frame 12
"dn"Frame 13
"dn1"Frame 14
"lt"Frame 16
"rt"Frame 17
"sp"Frame 18
"addbox"Frame 20
"delbox"Frame 21
"delline"Frame 22
"uplev"Frame 24
"s3"Frame 26
"s4"Frame 28
"l1"Frame 29
"l2"Frame 36
"l3"Frame 42
"l4"Frame 47
"l5"Frame 51
"over"Frame 54
"end"Frame 55

Dynamic Text Variables

levSymbol 46 EditableText"1"
lineSymbol 51 EditableText"0"
highSymbol 56 EditableText"0"
scSymbol 58 EditableText"0"




http://swfchan.com/3/11694/info.shtml
Created: 6/6 -2019 23:02:45 Last modified: 6/6 -2019 23:02:45 Server time: 14/11 -2024 23:26:12