Tag Archives: TextArea

How to add a line break in a flex TextArea

To add a line break inside the text of a TextArea component in flex we cannot use \n, but instead use ‘&#13;’ (without the quotes). For example: <s:TextArea text=”this text will be on the first line&#13;and this one on the second” …/> will produce a text box with this text: this text will be on… Read More »

Automatic scroll to the bottom of a TextArea

On my current project, i have a debug TextArea that continuously lists some var values and traces. This way i can keep track of whats going on without stopping execution to debug in Flex. As the list fills, the Text starts going off the screen, downwards. I needed to keep the scroll on the TextArea… Read More »