Hello, World

by komagata
♥0 | Line 12 | Modified 2009-06-02 01:48:09 | MIT License
play

ActionScript3 source code

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

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

[SWF(height=120, width=160, frameRate=30, backgroundColor="#ffffff")]

  public class HelloWorld extends Sprite {
    public function HelloWorld() {
      var textField:TextField = new TextField()
      textField.text = "Hello, World"
      addChild(textField)
    }
  }
}