hello world

by cat2151
♥0 | Line 11 | Modified 2009-09-09 11:11:51 | MIT License
play

ActionScript3 source code

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

package {
   import flash.display.Sprite;
   import flash.text.TextField;

   public class HelloWorld extends Sprite {

       public function HelloWorld() {
           var tf :TextField = new TextField;

           tf.text = "Hello, world!";
           addChild( tf );
       }

   }
}