Advertisement
vitalkanev

MACR

Aug 31st, 2017
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // SOURCE https://github.com/pakastin/open-source-flash/blob/master/hello.as
  2.  
  3. package
  4. {
  5.     import flash.display.Sprite;
  6.     import flash.text.*;
  7.  
  8.     public class Text extends Sprite
  9.     {
  10.         private var myTextBox:TextField = new TextField();
  11.         private var myText:String = "Hello World";
  12.  
  13.         public function Text()
  14.         {
  15.             addChild(myTextBox);
  16.             myTextBox.text = myText;
  17.         }
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement