flash on 2013-1-17

by yurij.shaulov
♥0 | Line 24 | Modified 2013-01-17 18:59:22 | MIT License
play

ActionScript3 source code

/**
 * Copyright yurij.shaulov ( http://wonderfl.net/user/yurij.shaulov )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/nMdj
 */

package {
    import flash.text.TextField;
    import flash.trace.Trace;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            var t:TextField = new TextField()
            t.x=50;
            t.y=50;
            t.width = 200;
            t.border=true;
            t.height=200;
            var text:Array = new Array();
            text[0]="....00....";
            text[1]="...0..0...";
            text[2]="..0000..";
            text[3]=".0......0.";
            for(var i:int = 0;i<text.length;i++){
               t.appendText(text[i]+"\n") 
            }
addChild(t);
        }
    }
}