label_field.autoSize = TextFieldAutoSize.RIGHT;
label_field.text = “Test”;
The textfield is a child of a Sprite and stored in a swf file.
The trace show that the autosize is set to the desired value, but the width of the textfield does not change even though it’s not close to textWidth. Tried different settings on the textfield, including different widths and justification settings. None of that made any difference.
The Feature Matrix shows that autosize is supported in HTML5.
Anyone know how to make autosize work?