<mx:script>
<![CDATA[[
private function onTextInput():void{
html.htmlText=inputField.text;
}
]]>
</mx:script><mx:TextArea id="inputField" textInput="onTextInput()"/><mx:HTML id="html" ......../>