I am dynamically creating and populating a TextField in AS3. I have embedded some fonts into my library (using Flash) and am setting the font of the text field using TextFormat. Because of the limited width of the TextField I have textfield.multiline = true;
and textfield.wordWrap = true;
, however I have noticed that the fonts look a little pixelated.
To fix this I am using textfield.antiAliasType = AntiAliasType.ADVANCED;
which makes the text look nice, but stops the word-wrap from working. In fact it looks quite odd; The text keeps keeps going off the width of the TextField then puts the last word on a new line.
What do I need to do to make it look good and wrap?