flash on 2010-9-23

by enecre
♥0 | Line 17 | Modified 2010-09-23 14:10:17 | MIT License
play

ActionScript3 source code

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

package {
    import flash.text.TextField;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        private var tf:TextField;
        public function FlashTest() {
            // write as3 code here..
            tf = new TextField();
            tf.width = 465;
            tf.height = 465;
            addChild(tf);
        }
        
        private function tr(...o:Array):void{
            tf.appendText(o + "\n");
            tf.scrollV = tf.maxScrollV;
        }

    }
}