Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 27. Text Display and Input > Creating and Displaying Text

27.1. Creating and Displaying Text

To display text with ActionScript, we first create a TextField object. The TextField object represents a rectangular text container that can be displayed on screen and filled with formatted text via code or user input. For example, the following code creates a TextField object and assigns it to the variable t:

var t:TextField = new TextField();


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint