TextFlowUtil.importFromString Problems
Hello,
With the Halo TextArea, and going back a long time, there was always a nice, simple htmlText property that at least provided some basic HTML formatting automatically.
This Spark TextArea and associated TextFlow and TextFlowUtil.importFromString() has me completely frustrated.
If I have this simple little string:
var string:String = "Hello <b>World</b>";
and I try to run:
TextFlowUtil.importFromString(string);
I get greeted with this error:
Error: Unknown element b
What is the trick to getting any arbitrary HTML string to be rendered as HTML so that it can be attached to a Spark TextArea?
