在mxml标签属性中使用: 在as的string类型中使用:\n 示例:<mx:TextArea width="100%" text="Display Content"/>public var myText:String = "Display" + "\n" + "Content";