Check out the content property in the TextArea docs Note the example at the end of the page.. it shows how to embed HTML.
Check out the content property in the TextArea docs. Note the example at the end of the page.. it shows how to embed HTML.
I don't think you can. You should stick to using the Halo TextArea component or you should investigate the Text Layout Framework to accomplish your goals.
David Gassner's Flashbuilder 4 & Flex 4 has a section on this. Take a look at TextFlowUtil. If you want to embed the HTML directly into the Spark TextArea (or RichText / RichEditableText), you can use the content tag as a child, then add the p or span tags thereafter - The supported HTML tags are part of the s namespace too.
If you're using the RichEditableText component instead, you can do it this way using the TextConverter class var myStr:String = "I contain html tags! "; myRichEditableText. TextFlow = TextConverter.
ImportToFlow(myStr, TextConverter. TEXT_FIELD_HTML_FORMAT).
It can be also used in spark textArea: var myStr:String = "I contain html tags! "; textAarea. TextFlow = TextConverter.
ImportToFlow(myStr, TextConverter. TEXT_FIELD_HTML_FORMAT); This sometime will not work, if the HTML code is big and have some tags that can`t be rendered TextFlowUtil. ImportFromString(yourHTMLString).
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.