TextArea difficulties

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default 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

  4. #3

    Default 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

  5. #4

    Default Re: TextArea difficulties

    Hi Peter, thanks for your help. I'll look into the Flash component angle.

    Mark
    mjtanzer Guest

  6. #5

    Default 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

  7. #6

    Default Re: TextArea difficulties

    Thanks Tracy, I'll do that.

    Mark
    mjtanzer Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139