-
Text Formatting (Leading)
Hi,
I can't seem to be able to set the leading of dynamic text field to a negative leading using the textformat object.... anybody out there with the know how of this? thank you
-
unfortunately this is a known bug in MX. You have to manually format a text field via the property inspector to use negative leading
The word is, that currently there is no workaround. I got this info from Flash forum at macromedia.com.
idi
-
I see a FStyleFormat.textAlign property but no leading one!
-
Oh, it's there alright: Textformat object --> Textformat.leading. Isn't FStyleFormat specific to components?
idi
-
I found a work around on the web, I forgot who it was from otherwise i would give him credit.
you can set it using HTML formating
textField.htmlText = "<p align=\"right\"><TEXTFORMAT leading=\"-5\" align=\"right\">"+textbody+" ;</TEXTFORMAT></p>"
Last edited by kiosk99; 02-18-2003 at 03:42 PM.
-
cool! thanks for sharing that info.
idi
-
I was looking for the same thing.. Unfortunatly this work-around does not work when you embed fonts into the textfield
Bummer, now how am I going to decrease that lineheight value :S
-
it works for me and i am embedding fonts
-
Now that is weird :S
Had to solve it some other way: by creating fixed textfields, each with a set of properties.. When I was done, it became clear to me that I should have done this later on during the project anyway, so no harm done
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|