Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
peterent #1
Re: TextArea difficulties
Flex doesn't have an out-of-the-box component that does this. The Text field
(not an input field) can grow as text is added to it. The only multi-line input
field is TextArea.
If you are really comfortable with ActionScript, you may be able to do what
you want. For example, each character you type could trigger an event which
would re-measure the text and adjust the height of the TextArea accordingly. I
really don't know how well or smoothly that would work, but that's the approach
I would take.
However, having a field that changes size as you type raises concerns about
fields below or around it shifting to accomodate this growing field. Are you
sure that's the best approach from a usability standpoint? I don't know what
your ultimate goal is and having text change size might work fine, but I
thought I would bring up the [rhetorical] question.
peterent Guest
-
Upgrading 9.0.16 to 9.0.28 difficulties
Presently have Flashplayer 9.0.16. When I try to download the latest Flashplayer version 9.0.28, after clicking download/install button buttom... -
Printing difficulties?!?
Hello, newbie here with a quick question. My GF has a Epson Stylus Photo 1290 that is fantastic! However we have recently been having an odd printing... -
FURTHER DIFFICULTIES
ok...i must confess...this is all to create a PAYPAL button....i need to add an item to a shopping cart on PAYPAL.com. another problem has cropped... -
Removing carriage returns from <textarea></textarea> input
Hiya, I have a form with a <textarea></textarea> to receive user input. This input is then stored in a database and sent by fax... I need to... -
New guy having difficulties
I can maximize an image window, but I can't seem to minimize the image window later. Is there a "minimize" button somewhere? Also, I cannot seem... -
mjtanzer #2
Re: TextArea difficulties
Hi Peter, thanks for your reply. As you suggested, I was thinking that a combo
of the textField and the textArea components could do th trick, but would
reauire a lot of code to accomplish. What I am trying to build is a text tool
Object that can be dragged around a Canvas that includes all of the typical
behaviors you would expect in a text tool. What I am trying to emulate is the
text tool that can be seen at [url]http://www.easterpig.com/demo/flashcard1/[/url]. Do you
think a custom Flash component would be a better approach? Thanks in advance.
Mark
mjtanzer Guest
-
peterent #3
Re: TextArea difficulties
I would say that in your case, yes, making the control in Flash would be
better. I'm sure some folks would disagree, but what you want isn't available
directly in Flex. That's what's really wonderful about Flex - you aren't
limited; you can make something special directly in Flash and still use it.
When you make the control in Flash, do not use any of the Halo components
(Text, TextArea, Button, etc) nor the containers. They didn't work for you
Flash and are incompatible with those in Flex, so why bother?
peterent Guest
-
mjtanzer #4
Re: TextArea difficulties
Hi Peter, thanks for your help. I'll look into the Flash component angle.
Mark
mjtanzer Guest
-
ntsiii #5
Re: TextArea difficulties
Be sure to google this before you start on it yourself: I have seen several
before, but do not have the links.
Also I would not be surprised to see such a component in version 2 as it is
regularly requested.
Tracy
ntsiii Guest
-



Reply With Quote

