
Here is the code that wouldn’t work:
var info:TextField = new TextField(); info.htmlText = "First line.
Second line.
Third line."; addChild(info);
Here is what is should have looked like:
var info:TextField = new TextField(); info.multiline = true; info.htmlText = "First line.
Second line.
Third line."; addChild(info);
Why wasn’t my original code working? Well, to make sure that the HTML tags for paragraph breaks and line breaks would function properly, I needed to set the TextField’s multiline parameter to “true”. Just one tiny line of code and then everything worked perfectly. I hate it when that happens!


