| Ultrashock Forums
• Flex - wordwrap |
|||
![]() |
||||
| Search this Thread | Thread Tools | Display Modes |
|
|
|||||||||||||||||||||||||
![]() |
Ultrashock Member Comments:
4 Creative Assets
|
2008-02-02
#2 |
||
|
|
2008-02-02
#3 |
||
|
split the string by carriage returns. ActionScript Code:
|
|
|
|
2008-02-03
#4 |
||
|
I have tried this also. But what happen when textfield has wordwrap true, when user is typing, and if any word is not fit in a row then it will automatically comes to next line. And this can not be identify even by \r or by \n.
|
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|


3 comments
| 2370 views

4 Creative Assets
Linear Mode
It sounds a bit weird what you´re looking for.
Can´t you have the user fill in separete textfields and grab the data out of each textfield instead?
maybe you can do something like this..
say your textfield is x number of charcters wide.
then you can grab character 1 to x for your first row
then x+1 to xx for your second row and so on?
Other then that I don´t know...