AS3: Bug with TextField.appendText with whitespace December 13, 2007
In Flash 9.0 r28, 9.0 r48 when appendingText I get wonkiness.
-
output_txt.appendText("A:\r");
-
output_txt.appendText("B:");
Outputs
A:B:
Should Be
A:
B:
In another case, when using other tabs and newlines, I've also had it do something like this
Outputs
A
:B:
Weird!
The solution I've found is adding an extra space at the end (after the \r)
-
output_txt.appendText("A:\r ");
-
output_txt.appendText("B:");
Outputs
A:
B:

Add a Comment: