Textfield.multiline - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

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
is multiline; if the value is
Example
The following example creates a multiline text field called
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");
, the text field is a single-line text field.
false
true
that displays a long,
fontList_txt
TextField.multiline
, the text field
899

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents