Forked from: naggg 's みんな氏ね diff:5 forked from: みんな氏ね Saqoosha forked:0 favorite:0 lines:39 license : MIT License modified : 2009-01-17 19:01:01 // forked from naggg's みんな氏ね package{ import flash.display.*; import flash.events.*; import flash.text.TextField; import flash.text.TextFieldAutoSize; import flash.text.TextFormat; import flash.utils.setInterval; public class Hoge extends Sprite{ private var tf:TextField; private var fucks:Array = new Array(); private var numFucks:int = 0; [SWF(width="465", height="465", backgroundColor="0x000000", frameRate="15")] public function Hoge():void{ tf = addChild(new TextField()) as TextField; tf.defaultTextFormat = new TextFormat('Verdana', 8); tf.text = "n"; tf.autoSize = TextFieldAutoSize.NONE; tf.width = 465; tf.height = 465; tf.mouseEnabled = false; tf.mouseWheelEnabled = false; fucks.push(tf.text); setInterval(update, 50); } private function update():void{ var s:String = "na"; var len:int = numFucks++; for(var i:int=0; i<len; i++){ s += "g"; } fucks.push(s); tf.text = fucks.join("\n"); tf.scrollV = tf.maxScrollV; if(fucks.length > 100){ fucks.shift(); } } } } Code Fullscreen Preview Fullscreen CapsStyle.NONE mouseEnabled join width height shift push text TextFormat addChild length String Array Sprite int