Flash CS 4 / AS 2 + Dynamic Text + Html + Embedded fonts...
- by AndreMiranda
I have this scenario:
1) I have a dynamic text that receives its data from a XML.
2) The texts showed get theirs style from a CSS file.
3) My dynamic text has a html 'span' tag and it's formatted according to the CSS class that it's passed via the XML file.
Ok... so far so good. It's something like:
_root.txt.txtDica = "<span class='"+ node.childNodes[_global.auxCont].attributes.myStyle +"'>" + node.childNodes[_global.auxCont].attributes.myText+ "</span>";
The problem is that the swf has a poor quality text. So, I've been looking around, found some things about embedded fonts, Flash TextField() and etc. But, nothing seems to work.
Does anyone know how can I generate this html tag in a dynamic text with a good quality? It's worth to say that I'm using regular fonts, such as Verdana and Arial.
Thanks a lot!