1 Reply Latest reply on May 12, 2006 4:55 PM by Newsgroup_User

    TextArea String Value in Flex 1.5 - How to read it?

    Digital_Hand
      Hi everyone,

      I have a little inquery about the value that TextArea produce in Flex 1.5.
      Once you write any thing that contains multi-lines in textArea that's fine. But how to read it correctly?
      I send the value to Java. And it read the value as single line.

      How can I improve the reading?

      I know this question should be asked in Java Forum but since the source of this problem is Flex then
      I hope if anyone can help me in this.

      Thanks in advance.
        • 1. Re: TextArea String Value in Flex 1.5 - How to read it?
          Level 7
          A TextArea will wordwrap by default. If you type in more text than will fit
          on a line, then the text will wrap to the next line. The TextArea does not
          store this information in its text property. Now if you press the "Enter"
          key in the TextArea, you should get a newline character in the text
          property.

          Jason Szeto

          "Digital Hand" <webforumsuser@macromedia.com> wrote in message
          news:e2pnv5$reo$1@forums.macromedia.com...
          > Hi everyone,
          >
          > I have a little inquery about the value that TextArea produce in Flex 1.5.
          > Once you write any thing that contains multi-lines in textArea that's
          > fine.
          > But how to read it correctly?
          > I send the value to Java. And it read the value as single line.
          >
          > How can I improve the reading?
          >
          > I know this question should be asked in Java Forum but since the source of
          > this problem is Flex then
          > I hope if anyone can help me in this.
          >
          > Thanks in advance.
          >