HTML markup
Hi,
I am trying to create a textFlow from a HTML formatted string. I do this as follows.
var markup:String = "<b>bold</b><i>italic</i>Mary has a little lamb";
var textFlow:TextFlow = TextFilter.importToFlow(markup, TextFilter.HTML_FORMAT);
textFlow.flowComposer.addController(new ContainerController( myTextFlowSprite, width, height));
textFlow.flowComposer.updateAllControllers();
I am expecting the text to be rendered to a single line but instead every tag is being rendered on a new line. The result looks like this
bold
italic
Mary has a little lamb
How can I get the text to render on a single line?
thanks,
Marco
