for (i in cont_mc) { var mc:MovieClip = cont_mc[i]; mc.onPress = mcOnPress; mc.onRelease = mcOnRelease; }