Flash Help: Right Align Pixel fonts in Flash
Flash Help: Right Align Pixel fonts in Flash
Out of context: Reply #3
- Started
- Last post
- 5 Responses
- unfittoprint0
yes. used the autosize method.
textfield.autosize = "right".
the thing is if you're using dynamic text, u should give a little delay (use a 30 ms setinterval and then clear it) until the box is resized with the new content. After that, align it using Math.round to give you an integer number of the textbox width.