flash on 2009-9-29

by uranodai
♥0 | Line 13 | Modified 2009-09-29 14:46:47 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    import flash.text.TextField;
    
    public class FlashTest extends Sprite {
        
        
        private var hoge:int;
        
        public function FlashTest() {
            // write as3 cosde here..
            trace("hello");
            
            var text:TextField = new TextField();
            text.text = "hello as3";
            addChild(text);
        }
    }
}