I have a sprite with a textfield child on it. This textfield uses htmlText and is multilined. When I scale the sprite the textfield scales as well, but not perfectly. I end up getting the bottom few lines of the text cut off when I resize the sprite to a smaller size.
Is the automatic scaling of textfields supported by as3? I came up with some work around where I do a string.replace() on the htmlText and inject my own fontsize, but it would be amazing (and probably more efficient) if this just worked when I scale the parent sprite.
Any tips are appreciated.
Thanks!
Do you use embedded font for the text displayed in the textfield? If not, Flash would not be able to scale the text as “glyph”, hence the text scaling would not be as proportional as the sprite.