# Dynamic textfield alpha problem

**URL:** <https://forum.kirupa.com/t/dynamic-textfield-alpha-problem/232349>\
**Category:** Uncategorized\
**Created:** [July 13, 2007, 12:50am UTC](https://forum.kirupa.com/t/dynamic-textfield-alpha-problem/232349 "2007-07-13T00:50:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![icekube12jr](https://avatars.discourse-cdn.com/v4/letter/i/c89c15/32.png) [@icekube12jr](https://forum.kirupa.com/u/icekube12jr)\
**Post date:** [July 13, 2007, 12:50am UTC](https://forum.kirupa.com/t/dynamic-textfield-alpha-problem/232349/1 "2007-07-13T00:50:16Z")

</div>

Hi,  
I created a textfield dynamically through actionscript 3.0 code. The bizarre things is, is that when I call my textfield (it’s var is pmlabel), I am able to use other properties properly, but not alpha. For example:

pmlable.visible = false;

That works and makes the textfield invisible. Another example:

pmlabel.text = “Something”;

That works and fills the textfield with the word Something. But when I try this:

pmlabel.alpha = 0.5;

Nothing appears to change. I have run a trace statement like this before and after the statement as follows:

trace(pmlable.alpha);  
pmlabel.alpha = 0.5;  
trace(pmlable.alpha);

output is:  
1  
0.5

Why won’t it actually fade my textfield? Thanks.

icekube12jr
