Hi,
Once again text and as3 is a nightmare.
Could anyone please check this and tell me why text doesn’t wrap at all but when I force a
?
var format:TextFormat = new TextFormat;
format.font = "Gotham";
format.size = 11;
format.color = 0x735322;
tf = new TextField();
tf.width = 150;
tf.embedFonts=true;
tf.antiAliasType = AntiAliasType.ADVANCED;
tf.text = _nom + "
" + "("+_cd+") "+_duracio;
tf.setTextFormat(format);
tf.autoSize=TextFieldAutoSize.LEFT;
tf.selectable = false;
Thanks a lot