by magnuky on Sun Nov 18, 2007 5:25 pm
hi all, this question was raised by me. i managed to get it worked (see attached for codes).
just to recap, the issue was automatically resizing the text font size in order to fit a text area without any scrolling needed. it is a little more tricky when the text is not typed in by the user, but is generated upon initialization. the solution is to make use of the events: updateDisplayList() and FlexEvent.UPDATE_COMPLETE.
cheers
- Attachments
-
Scalable_Font.zip
- (158.9 KB) Downloaded 58 times