Ooops, nope, the canvas part also needs to be between the eval brackets i think, so it's like this:

eval("_root.px"+variable+".canvas)._alpha = 50;

Sorry

Greetz