As per my observation this does not work in flex4:
<mx:TextArea id="taMytext" text="\n hi\n san"/> //use of \n does not work here
<s:Button label="Click it" click="Myfun()" />
Using script it’s possible:
public function Myfun():void
{
taMytext.text="hi\n";
taMytext.text+="san";
}
It seems the only way is to use the following: