KERNING IN FLASH
- Started
- Last post
- 10 Responses
- Quae
so i have an html coded richtext document loaded into flash 8 dynamic text block and for some reason i could control the leading and type size but not the kerning ...any suggestions?...thanks alot everybody ...
- cereals0
not possible i don't think - i still don't think they implemented that yet (for dynamic text boxes)
there are solutions knocking about on the interweb.. but they aren't pretty (code wise!)
- JamesEStone0
can't do it... unless you've written a neat kerner piece of software... but then it can slow your app down if you're doing a lot with it
- Quae0
man ...not even with
css?...maybe?
- cereals0
nope, I would of thought they might of used css (letter-spacing and word-spacing), but they didn't - how much text is there?
- johnnyw0
Do you mean kerning or letter spacing? There is no way to automate kerning in Flash (except for editing the kerning table of your font--which is probably worthwhile if the exisiting table isn't great, and most aren't). I believe Flash 8 allows for letterspacing in dynamic text fields (such as would be populated by html text), but prev versions do not.
- Quae0
it's about a paragraph of scrolling text and i dont' know how to control the kerning when i bitmap the text cause it's verdana 11pt and i'm having trouble i change the text kern in the properties setting but it doesn't do anything...i'm figuring css might help but i'm not sure how to css a .txt file
- cereals0
Just had a look in the help documents - this will work
var format:TextFormat = new TextFormat();
format.letterSpacing = 50;
txt.text = "Kerning";
txt.setTextFormat(format);
- cereals0
And theres a Kern property in Flash 8 as well. Its avialable for as1, but the user needs flash player 8 to get it to work...
- Quae0
thank i will try that code but what do i give the dynamic text field what should i enter into the instance or the var for the text field...i am using flash 8 and it will not kern for bitmap text.
- Quae0
hey cereal it tried it and it doesn't work...