Containercontrollers and textflow, get individual text fragments
Hi!
I am creating multiple RichText components (from code), which i then connect to textflow by adding multiple containercontrollers.
This all works great.
But now my question: Is it possible to get the html content from each specific containercontroller. I have tried a number of things for example,
editor = event.currentTarget as RichText;
var tf:TextFlow = editor.content as TextFlow;
trace(TextConverter.export(tf, TextConverter.TEXT_FIELD_HTML_FORMAT, ConversionType.STRING_TYPE).toString());
but this only produces a piece of html code without the actual text from the RichText field.
Anyone have an idea?
Thanx
Maurice
