User Guide

TextField.multiline 899
TextField.multiline
Availability
Flash Player 6.
Usage
my_txt.multiline:Boolean
Description
Property; indicates whether the text field is a multiline text field. If the value is true, the text field
is multiline; if the value is
false, the text field is a single-line text field.
Example
The following example creates a multiline text field called fontList_txt that displays a long,
multiline list of fonts.
var font_array:Array = TextField.getFontList().sort();
this.createTextField("fontList_txt", this.getNextHighestDepth(), 10, 10, 240,
320);
fontList_txt.border = true;
fontList_txt.wordWrap = true;
fontList_txt.multiline = true;
fontList_txt.text = font_array.join("\n");