Small Caps in Flash

Out of context: Reply #12

  • Started
  • Last post
  • 13 Responses
  • acrossthesea0

    I've never had to implement this (thankfully), but I think you could fake this with the limited CSS support flash offers. First you would need to bring it in all this dynamic text and wrap the first letter of each word with something like <span class="first"></span>. I guess you could do this after you've brought this text in with some regex stuff. Then .toUpperCase that entire string and drop into a dynamic text field as htmlText. Then apply the css to the textField and give the .first a much larger font-size than the rest of the text in that dynamic textfield. Using css in flash is very frustrating, but in theory I think this could work.

View thread