Lewis Leighton | Web, flash, flex and stuff


0

Tweening/Fading text in Flex

November 9, 2009

Recently I was trying to fade text in/out by tweening the alpha opacity. Unfortunately this didn’t work. I’d forgotten that in order to fade text you need to remember to set the blendMode property value to “layer” or BlendMode.LAYER in one of the following ways:

<mx:Text blendMode=”layer” />

yourText.blendMode = BlendMode.LAYER

Pretty simple really.

Filed under: Flex
yours truly