Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Actionscript / June 2005



Tip: Looking for answers? Try searching our database.

Question about TextArea class

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jujumbura - 30 Jun 2005 23:58 GMT
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 =(
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.