Categories
Archives
-
September 2010 (1)
-
August 2010 (3)
-
June 2010 (1)
-
May 2010 (2)
-
April 2010 (1)
-
March 2010 (6)
-
January 2010 (1)
-
December 2009 (3)
-
November 2009 (5)
-
October 2009 (10)
-
September 2009 (1)
-
June 2009 (1)
-
October 2008 (1)
-
August 2008 (1)
-
May 2008 (1)
-
April 2008 (2)
-
February 2008 (1)
-
January 2008 (4)
-
Fade dynamic text without embedding the font
I recently learned a technique that I appreciate a lot. A small and very easy solution, which documentation is very well hidden. My initial problem: Fading a textfield (using its Alpha values) without needing to embed the font. Having a Flash solution that should work with many languages, and in my case with Russian characters. Until I had to take the Russian characters in mind I embedded the fonts and everything was fading nicely. But when I chose the Russian language no text appeared at all…
After googling the web for a while, looking for workarounds I finally found a great solution. Setting the BlendMode on the textfield to BlendMode.LAYER will do the magic!
myTextField.blendMode = BlendMode.LAYER;The image slideshow displayed on http://www.visitnorway.com now uses this solution and should be working good on all languages.