Could some employee please check this out, I really need a working solution for this one...
Have you tried Spark RichText or Label?
hi, thanks for paying attention.
Yes I have, no problems with the new TextLayout Framework, but you see I need to use the old ones because they provide better html rendering, in other words the text can wrap around the image (which I definitely need since my content is dynamiclly populated), and I can also specify thickness and sharpness to match the design look of sharp text. All of this are a Must in my case, which is possible only with the old mx:text, but the container height is fixed and I need to put as much text as I can so I need negative leading which bugs...
do u have any solution ?
I don't know if TextField supports negative leading. Try a simple test of
TextField in an Actionscript Project and see what happens.
Sorry for the delay I've been very busy.
Sure normal textField in flash supports negative leading. I've set up the same example in flash cs5 for you:
http://filip.nedyalkov.net/leadingTest2/ (this is with the classic textField which the mx:Text uses)
As you can see it works as expected.
So is this a bug? Is there a way I could make it work in mx:Text ? Thanks.
I would try subclassing and overriding the measure() method and mucking with
File a bug with a simple test case at bugs.adobe.com/jira
You're not the only one. I just googled this issue and found this post. I'm seeing the same issue. Tag looks like this (very simple):
The negative leading causes the last line to disappear. It's there, however. It just doesn't display. It's strange. You can highlight the text, copy and paste it into notepad and you'll see that all of the text is there.
I found the easiest way to fix this is by setting the minHeight property to something reasonable. Of course, if you need it to be more dynamic than that, you'll have to override Text as someone else mentioned.