myFunction = function(mc:MovieClip) { mc._alpha = 0; } myFunction(obj1); myFunction(obj2); myFunction(obj3);