How to make opacity background for TextField in Flash or add alpha channel for background color
Hi, here I want to show you how to add alpha channel for TextField background color in Flash.
You can do it using next source code below:
textField = new TextField();
textField.blendMode = BlendMode.LAYER;
textField.alpha = .9; // opacity = 90%
textField.background = true;
textField.backgroundColor = 0x000000;
Happy coding!
1 Comment
zermok · 2 June, 2017 at 18:20
nice! thank you