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

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

stain.swf

This is the info page for
Flash #93775

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


Text
level1

reset

s

a

l

g

d

e

n

i

t

completed

click to continue
to the next level.

gamedesign

congratulations!

http://www.gamedesign.jp/

ActionScript [AS1/AS2]

Frame 5
WAKU_MAX = 50; waku_x = new Array(WAKU_MAX); waku_y = new Array(WAKU_MAX); waku_cel = new Array(WAKU_MAX); CEL_MAX = 25; cel_left = new Array(CEL_MAX); cel_right = new Array(CEL_MAX); cel_top = new Array(CEL_MAX); cel_bottom = new Array(CEL_MAX); level = 1; xmax = 3; ymax = 3; cel_num = xmax * ymax; waku_num = cel_num * 2; old_wn = 0; size = 40; sndPick = new Sound(); sndPick.attachSound("wav_pick.wav"); sndPut = new Sound(); sndPut.attachSound("wav_put.wav");
Frame 6
function pick_cel(n) { mc = eval ("mcCel" + n); mc.swapDepths(mcPrio); mc.startDrag(); var wn = -1; i = 0; while (i < waku_num) { if (n == waku_cel[i]) { wn = i; } i++; } if (wn < 0) { trace("error"); } waku_cel[wn] = -1; old_wn = wn; sndPick.start(); } function put_cel(n) { mc = eval ("mcCel" + n); mc.swapDepths(mcPrio); mc.stopDrag(); var cx = (mc._x + (size / 2)); var cy = (mc._y + (size / 2)); var wn = -1; i = 0; while (i < waku_num) { if (waku_cel[i] >= 0) { } else { mcw = eval ("mcWaku" + i); var x = mcw._x; var y = mcw._y; if ((((cx >= x) && (cx < (x + size))) && (cy >= y)) && (cy < (y + size))) { wn = i; } } i++; } if (wn < 0) { mcw = eval ("mcWaku" + old_wn); mc._x = mcw._x; mc._y = mcw._y; waku_cel[old_wn] = n; return(undefined); } mcw = eval ("mcWaku" + wn); mc._x = mcw._x; mc._y = mcw._y; waku_cel[wn] = n; sndPut.start(); c = 0; i = 0; while (i < ymax) { j = 0; while (j < xmax) { n = waku_cel[c]; if (n < 0) { return(undefined); } mc1 = eval ("mcCel" + n); if (j > 0) { n2 = waku_cel[c - 1]; mc2 = eval ("mcCel" + n2); if (mc1.mcCol3._currentframe != mc2.mcCol1._currentframe) { return(undefined); } } if (i > 0) { n2 = waku_cel[c - xmax]; mc2 = eval ("mcCel" + n2); if (mc1.mcCol0._currentframe != mc2.mcCol2._currentframe) { return(undefined); } } c++; j++; } i++; } if (level < 5) { gotoAndStop ("clear"); } else { gotoAndStop ("comp"); } }
Frame 15
switch (level) { case 1 : xmax = 3; ymax = 3; break; case 2 : xmax = 3; ymax = 4; break; case 3 : xmax = 4; ymax = 4; break; case 4 : xmax = 4; ymax = 5; break; default : xmax = 5; ymax = 5; } cel_num = xmax * ymax; waku_num = cel_num * 2; c = 0; i = 0; while (i < ymax) { j = 0; while (j < xmax) { cel_left[c] = 1 + Math.floor(Math.random() * 10); cel_right[c] = 1 + Math.floor(Math.random() * 10); cel_top[c] = 1 + Math.floor(Math.random() * 10); cel_bottom[c] = 1 + Math.floor(Math.random() * 10); if (j > 0) { cel_left[c] = cel_right[c - 1]; } if (i > 0) { cel_top[c] = cel_bottom[c - xmax]; } c++; j++; } i++; } i = 0; while (i < cel_num) { r = Math.floor(Math.random() * cel_num); tmp = cel_left[i]; cel_left[i] = cel_left[r]; cel_left[r] = tmp; tmp = cel_right[i]; cel_right[i] = cel_right[r]; cel_right[r] = tmp; tmp = cel_top[i]; cel_top[i] = cel_top[r]; cel_top[r] = tmp; tmp = cel_bottom[i]; cel_bottom[i] = cel_bottom[r]; cel_bottom[r] = tmp; i++; } yohaku = 40; aida = 40; area_w = 580 - (yohaku * 2); area_h = 320 - (yohaku * 2); xsize = Math.floor((area_w - aida) / (xmax * 2)); ysize = Math.floor(area_h / ymax); size = ((xsize < ysize) ? (xsize) : (ysize)); ox = 290 - ((((size * xmax) * 2) + aida) / 2); oy = 160 - ((size * ymax) / 2); c = 0; i = 0; while (i < ymax) { j = 0; while (j < xmax) { x = ox + (j * size); y = oy + (i * size); mc = eval ("mcWaku" + c); mc._x = (waku_x[c] = x); mc._y = (waku_y[c] = y); mc._xscale = (100 * size) / 40; mc._yscale = (100 * size) / 40; mc._visible = true; waku_cel[c] = -1; wn = c + cel_num; x = x + ((xmax * size) + aida); mc = eval ("mcWaku" + wn); mc._x = (waku_x[wn] = x); mc._y = (waku_y[wn] = y); mc._xscale = (100 * size) / 40; mc._yscale = (100 * size) / 40; mc._visible = true; mc = eval ("mcCel" + c); mc._x = x; mc._y = y; mc._xscale = (100 * size) / 40; mc._yscale = (100 * size) / 40; mc._visible = true; waku_cel[wn] = c; k = 0; while (k < 4) { mc = eval ((("mcCel" + c) + ".mcCol") + k); col = 1; switch (k) { case 0 : col = cel_top[c]; break; case 1 : col = cel_right[c]; break; case 2 : col = cel_bottom[c]; break; case 3 : col = cel_left[c]; } mc.gotoAndStop(col); k++; } c++; j++; } i++; } i = waku_num; while (i < WAKU_MAX) { mc = eval ("mcWaku" + i); mc._visible = false; i++; } i = cel_num; while (i < CEL_MAX) { mc = eval ("mcCel" + i); mc._visible = false; i++; } i = 0; while (i < 2) { mc = eval ("mcWin" + i); mc._x = ox + (i * ((xmax * size) + aida)); mc._y = oy; mc._xscale = ((xmax * 100) * size) / 40; mc._yscale = ((ymax * 100) * size) / 40; mc._visible = true; i++; } level_txt = "level" + level; gotoAndStop ("play");
Frame 21
this.stop();
Frame 28
this.stop(); mcWin1._visible = false;
Frame 34
this.stop(); mcWin1._visible = false;
Symbol 22 Button
on (press) { var n = Number(this._name.slice(5)); _parent.pick_cel(n); } on (release) { var n = Number(this._name.slice(5)); _parent.put_cel(n); }
Symbol 23 MovieClip Frame 1
this.stop();
Symbol 25 MovieClip Frame 1
this.stop();
Symbol 30 Button
on (press) { gotoAndPlay ("start"); }
Symbol 43 Button
on (press) { level++; gotoAndPlay ("start"); }
Symbol 51 Button
on (press) { getURL ("http://www.gamedesign.jp/"); }

Library Items

Symbol 1 Sound [wav_put.wav]
Symbol 2 Sound [wav_pick.wav]
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:Timeline
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:Timeline
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:Timeline
Symbol 9 GraphicUsed by:19
Symbol 10 GraphicUsed by:19
Symbol 11 GraphicUsed by:19
Symbol 12 GraphicUsed by:19
Symbol 13 GraphicUsed by:19
Symbol 14 GraphicUsed by:19
Symbol 15 GraphicUsed by:19
Symbol 16 GraphicUsed by:19
Symbol 17 GraphicUsed by:19
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:9 10 11 12 13 14 15 16 17 18Used by:23
Symbol 20 GraphicUsed by:23
Symbol 21 GraphicUsed by:22
Symbol 22 ButtonUses:21Used by:23
Symbol 23 MovieClipUses:19 20 22Used by:Timeline
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:Timeline
Symbol 26 FontUsed by:27 28 31 32 33 34 35 36 37 38 39 40 41 48
Symbol 27 EditableTextUses:26Used by:Timeline
Symbol 28 TextUses:26Used by:30
Symbol 29 GraphicUsed by:30 51
Symbol 30 ButtonUses:28 29Used by:Timeline
Symbol 31 TextUses:26Used by:Timeline
Symbol 32 TextUses:26Used by:Timeline
Symbol 33 TextUses:26Used by:Timeline
Symbol 34 TextUses:26Used by:Timeline
Symbol 35 TextUses:26Used by:Timeline
Symbol 36 TextUses:26Used by:Timeline
Symbol 37 TextUses:26Used by:Timeline
Symbol 38 TextUses:26Used by:Timeline
Symbol 39 TextUses:26Used by:Timeline
Symbol 40 TextUses:26Used by:43
Symbol 41 TextUses:26Used by:43
Symbol 42 GraphicUsed by:43
Symbol 43 ButtonUses:40 41 42Used by:Timeline
Symbol 44 SoundUsed by:Timeline
Symbol 45 FontUsed by:46
Symbol 46 TextUses:45Used by:Timeline
Symbol 47 GraphicUsed by:51
Symbol 48 TextUses:26Used by:51
Symbol 49 FontUsed by:50
Symbol 50 TextUses:49Used by:51
Symbol 51 ButtonUses:47 48 50 29Used by:Timeline

Instance Names

"mcWin0"Frame 15Symbol 4 MovieClip
"mcWin1"Frame 15Symbol 6 MovieClip
"mcWaku0"Frame 15Symbol 8 MovieClip
"mcWaku1"Frame 15Symbol 8 MovieClip
"mcWaku2"Frame 15Symbol 8 MovieClip
"mcWaku3"Frame 15Symbol 8 MovieClip
"mcWaku4"Frame 15Symbol 8 MovieClip
"mcWaku5"Frame 15Symbol 8 MovieClip
"mcWaku6"Frame 15Symbol 8 MovieClip
"mcWaku7"Frame 15Symbol 8 MovieClip
"mcWaku8"Frame 15Symbol 8 MovieClip
"mcWaku9"Frame 15Symbol 8 MovieClip
"mcWaku10"Frame 15Symbol 8 MovieClip
"mcWaku11"Frame 15Symbol 8 MovieClip
"mcWaku12"Frame 15Symbol 8 MovieClip
"mcWaku13"Frame 15Symbol 8 MovieClip
"mcWaku14"Frame 15Symbol 8 MovieClip
"mcWaku15"Frame 15Symbol 8 MovieClip
"mcWaku16"Frame 15Symbol 8 MovieClip
"mcWaku17"Frame 15Symbol 8 MovieClip
"mcWaku18"Frame 15Symbol 8 MovieClip
"mcWaku19"Frame 15Symbol 8 MovieClip
"mcWaku20"Frame 15Symbol 8 MovieClip
"mcWaku21"Frame 15Symbol 8 MovieClip
"mcWaku22"Frame 15Symbol 8 MovieClip
"mcWaku23"Frame 15Symbol 8 MovieClip
"mcWaku24"Frame 15Symbol 8 MovieClip
"mcWaku25"Frame 15Symbol 8 MovieClip
"mcWaku26"Frame 15Symbol 8 MovieClip
"mcWaku27"Frame 15Symbol 8 MovieClip
"mcWaku28"Frame 15Symbol 8 MovieClip
"mcWaku29"Frame 15Symbol 8 MovieClip
"mcWaku30"Frame 15Symbol 8 MovieClip
"mcWaku31"Frame 15Symbol 8 MovieClip
"mcWaku32"Frame 15Symbol 8 MovieClip
"mcWaku33"Frame 15Symbol 8 MovieClip
"mcWaku34"Frame 15Symbol 8 MovieClip
"mcWaku35"Frame 15Symbol 8 MovieClip
"mcWaku36"Frame 15Symbol 8 MovieClip
"mcWaku37"Frame 15Symbol 8 MovieClip
"mcWaku38"Frame 15Symbol 8 MovieClip
"mcWaku39"Frame 15Symbol 8 MovieClip
"mcWaku40"Frame 15Symbol 8 MovieClip
"mcWaku41"Frame 15Symbol 8 MovieClip
"mcWaku42"Frame 15Symbol 8 MovieClip
"mcWaku43"Frame 15Symbol 8 MovieClip
"mcWaku44"Frame 15Symbol 8 MovieClip
"mcWaku45"Frame 15Symbol 8 MovieClip
"mcWaku46"Frame 15Symbol 8 MovieClip
"mcWaku47"Frame 15Symbol 8 MovieClip
"mcWaku48"Frame 15Symbol 8 MovieClip
"mcWaku49"Frame 15Symbol 8 MovieClip
"mcCel0"Frame 15Symbol 23 MovieClip
"mcCel1"Frame 15Symbol 23 MovieClip
"mcCel2"Frame 15Symbol 23 MovieClip
"mcCel3"Frame 15Symbol 23 MovieClip
"mcCel4"Frame 15Symbol 23 MovieClip
"mcCel5"Frame 15Symbol 23 MovieClip
"mcCel6"Frame 15Symbol 23 MovieClip
"mcCel7"Frame 15Symbol 23 MovieClip
"mcCel8"Frame 15Symbol 23 MovieClip
"mcCel9"Frame 15Symbol 23 MovieClip
"mcCel10"Frame 15Symbol 23 MovieClip
"mcCel11"Frame 15Symbol 23 MovieClip
"mcCel12"Frame 15Symbol 23 MovieClip
"mcCel13"Frame 15Symbol 23 MovieClip
"mcCel14"Frame 15Symbol 23 MovieClip
"mcCel15"Frame 15Symbol 23 MovieClip
"mcCel16"Frame 15Symbol 23 MovieClip
"mcCel17"Frame 15Symbol 23 MovieClip
"mcCel18"Frame 15Symbol 23 MovieClip
"mcCel19"Frame 15Symbol 23 MovieClip
"mcCel20"Frame 15Symbol 23 MovieClip
"mcCel21"Frame 15Symbol 23 MovieClip
"mcCel22"Frame 15Symbol 23 MovieClip
"mcCel23"Frame 15Symbol 23 MovieClip
"mcCel24"Frame 15Symbol 23 MovieClip
"mcPrio"Frame 15Symbol 25 MovieClip
"mcCol0"Symbol 23 MovieClip Frame 1Symbol 19 MovieClip
"mcCol1"Symbol 23 MovieClip Frame 1Symbol 19 MovieClip
"mcCol2"Symbol 23 MovieClip Frame 1Symbol 19 MovieClip
"mcCol3"Symbol 23 MovieClip Frame 1Symbol 19 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "wav_put.wav"
ExportAssets (56)Timeline Frame 1Symbol 2 as "wav_pick.wav"

Labels

"init"Frame 5
"start"Frame 15
"play"Frame 21
"clear"Frame 28
"comp"Frame 34

Dynamic Text Variables

level_txtSymbol 27 EditableText"level1"




http://swfchan.com/19/93775/info.shtml
Created: 26/3 -2019 13:21:17 Last modified: 26/3 -2019 13:21:17 Server time: 22/12 -2024 19:22:41