Incrementing htmlText on a Spark TextArea in Flex 4
by Nicolas Noben
The property ‘htmlText’ is gone in spark TextArea. It was obviously making life too easy
A work around is to use the spark.utils.TextFlowUtil and shove the html code in it. It formats it for TextArea to display.
This example goes a step further and shows how to add more to an existing TextArea with HTML in it.
// Required: spark.utils.TextFlowUtil // output is a <s:TextArea /> output.textFlow = TextFlowUtil.importFromString(output.text + htmlSourceToAdd + "<br />");
Related Posts
- Automatically resize Text/TextArea based on content (autoSize) in Flex
- Budget based flight planner
- About
- The Hungry Suitcase takes you on holidays
- Box.net offers free online storage

Stay focussed. Save to
Del.icio.us |
Reddit |
Stumble it |
Digg it

