Hello,
I am trying to implement a little discussion widget in Flash MX 2004
Professional, and one of the features I'd like is for it to expand downward as
it wraps downward. Currently, I can use setSize( ) to set a static width and
height and set wordWrap to true, but as soon as anyone types text that makes
the paragraph larger than the height, it brings up a scrollbar. Instead, I
would like it to resize itself to fit the new text.
Is there a way to do this through the TextArea properties that I haven't come
upon? Or perhaps, a different class better suited to this kind of expansion?
I had considered making a custom resizer based on the number of characters in
the text, but that would be very tricky since I don't know the exact sizes of
the characters. I'm hoping there's something a little less nitty-gritty =)
Any suggestions? I appreciate any help!
Mike
jujumbura - 01 Jul 2005 00:03 GMT
My apologies for the duplication of this message =(