When i change the size or the color, then i get the result i want, but when i try to write something in italics or bold i fail.
I tried <i></i> and <b></b> tags or style="font-style:italics" with no success.
Any ideas??
Check out the attachment. Look in the mc_embedded_fonts movieclip in the library, you'll see the 4 weights as separate textfields. If you select one then click the 'Embed...' button in the properties panel you'll see what characters I've included. I've set that movieclip to 'Export for Actionscript' (right-click the movieclip in the library and select properties. That way it doesn't have to be on the main timeline cluttering things up.
On the main timeline I've added a dynamic textfield called _display, and stuck in this code:
Hi there. The solution you gave me worked but i have another problem.
A few days ago i uploaded the website and i saw that the xml external html content page in which i load the embedded fonts is loading very slowly (4-5 seconds) and its only a text. I saw the bandwidth usage from .fla and saw that the file is almost 500 kB! and when i delete the mc_embed_fonts from fla library then the file is 120 kB. How can i resolve this?A solution to reduce my .swf file?