【发布时间】:2011-10-29 13:22:02
【问题描述】:
根据我的观察,这在 flex4 中不起作用:
<mx:TextArea id="taMytext" text="\n hi\n san"/> //use of \n does not work here
<s:Button label="Click it" click="Myfun()" />
使用脚本是可能的:
public function Myfun():void
{
taMytext.text="hi\n";
taMytext.text+="san";
}
【问题讨论】:
标签: apache-flex flex3 textarea