<font color="red">Edit : 27 april</font>
New build of the plugin.
You can get back the HTML String as a base64 representation !
So now, you can have whatever HTML string you want inside the plugin, and get it back to inject it as an image a Sprite, for example !
<img src="http://dl.dropbox.com/u/1412774/HTMLStringDemo2/demo.png" border="0">
The demo : http://dl.dropbox.com/u/1412774/HTMLStringDemo2/index.html
The .capx : http://dl.dropbox.com/u/1412774/HTMLStringDemo2/HTMLStringDemo2.capx
The plugin : http://dl.dropbox.com/u/1412774/HTMLStringDemo2/pode_html_string.1.3.zip
Remember, because of the way it's handle behind the stage, don't forget to set a size for your HTML string.
You can use something like that :
"<p style='font-size:20px;'>your_HTML_string</p>"
<font color="red">Edit : 08 february </font>
I uppdated the plugin. There should be no more screen updating problem.
Demo : http://dl.dropbox.com/u/1412774/HTMLStringC2Plugin/index.html
Plugin : http://dl.dropbox.com/u/1412774/HTMLStringC2Plugin/pode_html_string.0.2.zip
Capx : http://dl.dropbox.com/u/1412774/HTMLStringC2Plugin/HTMLStringC2Plugin.03.capx
<img src="http://dl.dropbox.com/u/1412774/HTMLStringC2Plugin/demo.png" border="0">
-------
Since impossible isn't french (and to proove Ashley it can be done, since he is english - eternal rivalry across the Channel :p), here's a plugin made to display HTML formatted string inside C2.
I tested it inside Firefox. Should also work in Safari and Chrome (it's some kind of a hack, but it respects the SVG specification...)
http://dl.dropbox.com/u/1412774/HTMLStringC2Plugin/HTMLStringC2Plugin.zip
Here's an example http://dl.dropbox.com/u/1412774/HTMLStringC2Plugin/index.html and a quick screenshot : <img src="http://dl.dropbox.com/u/1412774/HTMLStringC2Plugin/htmlstring.png" border="0"> (yes, the little blue things are images. Base64 images... Don't remember were they come from).
As you can see, you can use CSS styling (don't forget that since we are using a SVG container via a <foreignObject> proxy, you need to use XHTML strict - ![CDATA[ and the like, as can be seen in the capx http://dl.dropbox.com/u/1412774/HTMLStringC2Plugin/HTMLStringC2Plugin.capx)
The plugin is still a bit dirty and in alpha state, I prefer to release early & often.
Comments & Critics are welcome, bugfixes are better ! :)