Is there a function that works for every movieclip whatever instancename the moviecl

Hi!
I want a function that makes every movieclip on the scene that´s beeing released to do what´s in the actonscript.
My function doesn´t woork, is there a function that works for every movieclip on the scene whatever instancename the movieclip has ?

 
movieClip.onRelease = function() {
this._alpha=50;
trace(YEAS);
}