views:

47

answers:

1

hello, i've a MovieClip and i would like to change the transparency of this movieclip how can i do? Thx.

+2  A: 

Using the _alpha property should do it. 0 = completely transparent, and 100 = opaque.

name_MC._alpha = 50;
enduro
like this ..?canalFlexFlash.couleurDept = function(tabDptCouleur : Object){//trace("_localConnection.couleurDept"); for (i in _root) { if (_root[i] instanceof MovieClip) { var colorful = new Color(_root[i]); if (tabDptCouleur[_root[i]._name]!=null) { couleur = Number(tabDptCouleur[_root[i]._name]); _root[i]._alpha = 50; } }}
Nander
I'm not sure what that function is, but you asked how to change the transparency of a movieclip. Of which the answer is shown above. if you need further clarification. mcName._alpha = 0 is completely transparent (invisible) and mcName._alpha = 100 is completely solid.
Kohan
Thanks work for me !!
Nander