flash on 2010-6-13

by ir_77
HelloWorld
♥0 | Line 12 | Modified 2010-06-13 20:21:13 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.*;  
    import flash.text.*;  

    //HelloWorld
    [SWF(width=240, height=240, backgroundColor=0xFFFFFF)]
    public class HelloWorld extends Sprite {
        //コンストラクタ
        public function HelloWorld() {
            var textField:TextField=new TextField();
            textField.text="Hello World!";
            addChild(textField);
        }
    }
}