/ Published in: ActionScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function kernText(whichField, kerning) { whichField.html = true; var newFormat:TextFormat = new TextFormat(); newFormat.letterSpacing = kerning; //newFormat.font = "Arial"; whichField.setTextFormat(newFormat); }
URL: http://winkyboy.blogspot.com/2007/12/programming-flash-kerning-dynamic-text.html