flash on 2010-6-2

by ir_77
♥0 | Line 11 | Modified 2010-06-02 21:21:48 | 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/i1G5
 */

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 );
       }
   }
}