Extending CSS in Flash
I was writing my own TextFormat Class at work and I noticed this post on Lessrain which seems to get around the problems with you not being able to use the CSS properties like leading, Thomas has written a class to solve this problem, you many not have known but Flash internally converts every CSS class into a text format Object….
well see how Lessrain got round the problem
June 13th, 2005 at 10:24 pm
I had to add a fix to the class to address a well known bug in Flash ignoring negative leadings.
See livedocs
You can work around this bug by setting the leading in the TextFormat constructor. See comments in the class code…