How can I adjust letter spacing with sIFR 2?
I know, sIFR 3 allows you to style your text, including letterspacing. But I had to update an older website using sIFR 2.0.7 and also had to adjust the letter spacing. So I wondered; is there a way to do this without upgrading to sIFR 3? Yes there is:
- First, edit “dont_customize_me.as” and place the following code at line 92:
if (letterSpacing != null) fmt.letterSpacing = Number(letterSpacing);
- Next, edit “sifr.js” on line 7:
Where it says “var a=6;” change the 6 to an 8. This ensures that you’re detecting for Flash v8.
- Where you make your replacement calls add the following to sFlashVars:
- Lastly, be sure to save your font SWFs as Flash 8, with Actionscript 2.0 enabled using the “Publish Settings…” menu.
But, this only works for titles of 1 line long. Longer titles won’t wrap anymore but will be scaled down instead. To fix this I guess you still have to upgrade to sIFR 3.
Status: Tested it, works, line wrapping is broken.