Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // SOURCE https://github.com/pakastin/open-source-flash/blob/master/hello.as
- package
- {
- import flash.display.Sprite;
- import flash.text.*;
- public class Text extends Sprite
- {
- private var myTextBox:TextField = new TextField();
- private var myText:String = "Hello World";
- public function Text()
- {
- addChild(myTextBox);
- myTextBox.text = myText;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement