Mega Code Archive

 
Categories / Flash ActionScript / TextField
 

The text appears fully opaque, even though the text fields alpha percentage is set to 20%

package{   import flash.display.Sprite;   import flash.text.*;   public class Main extends Sprite{     public function Main(){         var t:TextField = new TextField(  );         t.text = "Hello world";         t.alpha = .2;         addChild(t);     }   } }