I'm using an embedded CSS file where I define the styles through code 

var boldlite:Object = new Object();
boldlite.color = "#ff000000";
boldlite.fontWeight = "bold";


testSheet.setStyle("boldlite", boldlite);


and then I assign it to an html text field.

testText.styleSheet = testSheet;
testText.embedFonts=true;
testText.wordWrap=true;
testText.font = "Futura Medium";
testText.htmlText="<p class='boldlite'>using class*this should be bold and red*

";
                

No matter what I do I can't get it to render any color or weight changes.

I have uploaded the fla if anyone has a chance to look, its just a TEST right 
now.

http://www.bluetube.com/temp/embedcss.zip

Grant.          
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to