flash on 2009-9-20

by hacker_9p8x8mco
♥0 | Line 14 | Modified 2009-09-20 22:55:12 | MIT License
play

ActionScript3 source code

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

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