제자님들 과제
제자님들 과제
액션넣으면끝 reateTextField("t", 1, 0, 300, 239, 24); function c(a, b, g, h) { for (x=0; x>2))*15] = -h; continue; } if (m[a+(x%4)+(b+(x>>2))*15]>0 or b+(x>>2)>19 or a+(x%4)9) return 1; if (q >2))*15] = h; if (b+(x>>2)<0) { delete onEnterFrame; t.text = z + " 아무 버튼이나 누르세요"; } } } } } t.onKeyDown = function() { q = Key.getCode(); if (!onEnterFrame) { w = z = 0; s = [4325376,178954464,8653312,null,89458032,268435455,89520863, 83886080,2183168,178937791,1615119,null,null,167772160]; m = []; i = random(28); d = random(16777215); v = -(u=3); onEnterFrame = function () { t.text = z; if (q == 37) { u--; if (c(u, v, i, d)) u++; } if (q == 38) { q = i++; if (!(i%4)) i -= 4; if (c(u, v, i, d)) i = q; } if (q == 39) { u++; if (c(u, v, i, d)) u--; } q = 300; c(11, 3, d%28, 0xeeeeee); c(u, v, i, d); clear(); beginFill(0xeeeeee); lineStyle(0); lineTo(151, 0); lineTo(151, 301); lineTo(0, 301); endFill(); lineStyle(2); while (q--) { if (m[q]) { beginFill(m[q]); if (m[q]<0) { beginFill(-m[q]); delete m[q]; } moveTo(1+(q%15)*15, 1+int(q/15)*15); lineTo(15+1+(q%15)*15, 1+int(q/15)*15); lineTo(15+1+(q%15)*15, 15+1+int(q/15)*15); lineTo(1+(q%15)*15, 15+1+int(q/15)*15); endFill(); } } if (!(w++%(3-2*Key.isDown(40)))) { v++; if (c(u, v, i, d)) { v--; q--; c(u, v, i, d); for (i=0; i<20; i++) { for (x=0; m[x+i*15];x++) {} if (x == 10) { m.splice(i*15, 15); m.unshift(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); z += x; } } i = d%28; d = random(16777215); v = -(u=3); } } }; } }; t.onKeyDown(); Key.addListener(t); 프레임에 액션넣으면 끝이에요
No execution requirements were declared. Support in this environment is unknown.
The runtime needed for this feature has not been verified. You can still view the work and comments.
