forked from: みんな氏ね
♥0 |
Line 39 |
Modified 2009-01-17 19:01:01 |
MIT License
archived:2017-03-10 03:20:53
ActionScript3 source code
/**
* Copyright Saqoosha ( http://wonderfl.net/user/Saqoosha )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/4ty7
*/
// 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();
}
}
}
}