Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
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();