I got something like this:
can = new Canvas; txt = new Lable; img = new Image; can.addChild(txt); can.addChild(img); can.alpha = 0;
then I do some stuff...and then I want to restore 'can.alpha', make it visible and put a partly - transparent circle around it:
can.alpha = 100; can.graphics.beginFill(0x83F52C,0.5); can.graphics.drawCircle(can.width/2,can.height/2,can.width/2); can.graphics.endFill();
The effect is that the transparency doesn't work when can.alpha is set to 100 though it is set before I draw the partly - transparent circle. I tried to validate 'can' object between:
can.alpha = 100; can.validateNow(); can.graphics.beginFill(0x83F52C,0.5);
but it has no effect. I wonder if any of you know any way around to achieve what I'm trying to do.
Maybe alpha is a number from 0 to 1 and not 100?
Hehe, that's a good one I was thinking in percentages. Thanks mate and sorry for stupid question, sometimes I'm so retarded