i have a simple TLFTextfield that i want to use as input field. It works mostly but if you type white spaces (pressing SPACE) on end of the line it will not break line (go to new line) but insted it stops at the end of the line. I tested it tracing field.getCharBoundaries() and it reported that x of the activePosition is getting bigger so conclusion was that white spaces are added but text is not wrapped and cursor is staying at the line end. If I try to backspace last char I realize that white spaces are really there but not visible.
import fl.text.TLFTextField;
import flashx.textLayout.formats.VerticalAlign;
import flashx.textLayout.edit.EditManager;
var field:TLFTextField = new TLFTextField();
field.selectable = true;
field.multiline = true;
field.wordWrap = true;
field.verticalAlign = VerticalAlign.TOP;
field.width = 400;
field.height = 300;
field.x = 50;
field.y = 50;
field.borderColor = 0x000000;
field.border = true;
field.textFlow.interactionManager = new EditManager();
addChild(field);
Supplied code is so simple that anybody can try it and hopefully somebody can help. Just type white spaces to reproduce this issue. Thanks.