flash on 2010-2-8

by h_sakurai
♥0 | Line 12 | Modified 2010-02-08 15:17:03 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    import flash.text.*;
    public class FlashTest extends Sprite {
        public function FlashTest() {
        		var t:TextField = new TextField();
        		t.text = "test";
        		addChild(t);
            // write as3 code here..
            trace("test");
        }
    }
}