htmlText missing lines of text – autosize – AS3

If you’ve got htmlText, imported from, say, xml – you might lose some lines in bullet lists and things, just some real odd stuff like that. You can sort that out by assigning autosize to the textField, AFTER you’ve assigned the text to it.

coursesField.autoSize = TextFieldAutoSize.LEFT;
coursesField.wordWrap = true;
coursesField.htmlText = whatever;
Tech Reference:

Leave a Reply

Your email address will not be published. Required fields are marked *

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑