Prevent multiline in TLF?
How do you prevent carriage returns when using the TLF?
With the old TextField youi could just do multiline = false.
Is the an equivalent in the TLF?
Old style code below ...
var tf:TextField = new TextField();
tf.border = true;
tf.width = 100;
tf.height = 20;
tf.type = TextFieldType.INPUT;
tf.border = true;
tf.multiline = false;
tf.text = "Hello World";
addChild(tf);
Thanks in advance,
Adrian
