[thelist] changing size of special characters in XML

Volkan Özçelik volkan.ozcelik at gmail.com
Fri Jan 16 03:05:27 CST 2009

Hi Bruce,

On Fri, Jan 16, 2009 at 2:15 AM, Bruce Gilbert <webguync at gmail.com> wrote:

>  I tried adding the CData tag (<![CDATA[<sup>&#174;</sup>]]>...but that
> didn't do anything
> except create a blank space....any suggestions?

I'm not a flash expert but as as I know, flash does not play well with
formatting markup, though it has got better in recent versions.

You may traverse your xml dom tree and parse it in your actionscript
You can play around with setTextFormat method, but don't expect too much out
of it.

Another alternative is that you can try to format your xml with xslt and
save it as an xhtml file somewhere (like output.hml), and then embed the
output.html into your flash content [1].

I know, it's a bit overkill. But imho it's the only sure-fire way to do it.

[1] "Using HTMLFormatting in Flash"

Volkan Ozcelik
+> Front End Architect, MessengerFX : http://www.messengerfx.com/
+> linkibol.com - in seek for quality links : http://www.linkibol.com/
+> my blog (in Turkish) : http://www.fikribol.com/donkisot/
+> Sardalya JavaScript Library : http://www.sarmal.com/sardalya/

More information about the thelist mailing list