Skip to content

Instantly share code, notes, and snippets.

@cx20
Created June 10, 2012 13:31
Show Gist options
  • Save cx20/2905622 to your computer and use it in GitHub Desktop.
Save cx20/2905622 to your computer and use it in GitHub Desktop.
Hello, Flash World! (ActionScript)
package
{
import flash.display.*;
import flash.text.*;
public class Hello extends Sprite
{
public function Hello()
{
var textField:TextField = new TextField();
textField.text = "Hello, Flash World!";
this.addChild(textField);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment