Bind html text in RichTextEditor to TextArea
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Canvas creationComplete="addFonts()"> <mx:Script> import mx.collections.ArrayCollection; private function addFonts():void{ var arr:Array = Font.enumerateFonts(true); richText.fontFamilyCombo.labelField = 'fontName'; richText.fontFamilyCombo.dataProvider = Font.enumerateFonts(true); } </mx:Script> <mx:RichTextEditor id="richText" width="400" height="400"/> <mx:TextArea height="100%" width="400" htmlText="{richText.htmlText}" x="410"/> </mx:Canvas> </mx:Application>