# Commanding multiple mc's

**URL:** <https://forum.kirupa.com/t/commanding-multiple-mcs/226221>\
**Category:** Uncategorized\
**Created:** [May 18, 2007, 10:42pm UTC](https://forum.kirupa.com/t/commanding-multiple-mcs/226221 "2007-05-18T22:42:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeancnicolas](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Post date:** [May 18, 2007, 10:42pm UTC](https://forum.kirupa.com/t/commanding-multiple-mcs/226221/1 "2007-05-18T22:42:17Z")

</div>

Hi There,

I want to disable 6 movie clips after an onRelease function …  
Rather than writing:

myMC.onRelease = function (){

thisMC.\_alpha =50;

myOther1\_mc.enabled = false;  
myOther2\_mc.enabled = false;  
myOther3\_mc.enabled = false;  
myOther4\_mc.enabled = false;  
myOther5\_mc.enabled = false;

}

How could I sum up all those myOther\*\_mc’s as one term, so that I can call ‘group\_mc.enabled = false;’ instead, and have it in one nice line. … ?

help would be ace!  
thanks
