커뮤니티로 돌아가기

대화

ALE님의 글에서 이어진 답글 0개

A
ALE@chlwlrua

ㅇㅂㅇ import flash.display.BitmapData; import flash.geom.Rectangle; import flash.geom.Point; import flash.geom.ColorTransform; num = new Array(); num.push([0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0]); num.push([0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0]); num.push([1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1]); num.push([1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0]); num.push([1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1]); num.push([1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1]); num.push([1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1]); num.push([1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1]); num.push([1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1]); num.push([1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1]); mybitmap = new BitmapData(550, 400, true, 0); col = new ColorTransform(1, 1, 1, 0.9, 1, 1, 1, -0.5); rect = new Rectangle(0, 0, 550, 400); w = 0; attachBitmap(mybitmap, 10); matrixChars = new Array(); onEnterFrame = function () { if (!(w++%15)) { w = 0; matrixChars.push(new matrixChar(random(550-3), random(200)-7, random(10), random(175)+80)); } for (i=0; i400) { matrixChars.splice(i, 1); i--; } } mybitmap.colorTransform(rect, col); }; function matrixChar(xloc, yloc, thisnum, alpha) { this.num = thisnum; this.xloc = xloc; this.yloc = yloc; this.alpha = alpha; } 이거뭐임