Flash AS3 TextField Alpha
- May 15th, 2009
- Posted in General . as3 . coding . development . flash
- Write comment
A though one to figure out: Setting the Alpha (transparancy) value for a textfield:
import flash.display.BlendMode;
[...]
textfield.text = 'Some text';
textfield.blendMode = BlendMode.LAYER;
textfield.alpha = 0.5;
You can also add textFormatting if you like…
Thanks a lot, that saved me a bunch of time. I am gonna subscribe to your blog, check out mine at http://hyperspatial.com/blog