/ Published in: ActionScript
URL: http://winkyboy.blogspot.com/2007/12/programming-flash-kerning-dynamic-text.html
Expand |
Embed | Plain Text
function kernText(whichField, kerning) { whichField.html = true; var newFormat:TextFormat = new TextFormat(); newFormat.letterSpacing = kerning; //newFormat.font = "Arial"; whichField.setTextFormat(newFormat); }
Comments
Subscribe to comments
You need to login to post a comment.

Kern the text initially, and after every update.