Remove all movieclips when not equal to...?

trying to hide all submenu’s when not equal to the current


function removeAllOtherMenus(mc) {
	trace("remove movieclips not equals: "+mc);
	  for (var i = 1; i <=3; i++){
                if (["subsubmenu_mc"+i] != [mc]._name) {
                        //this["subsubmenu_mc"+i].removeMovieClip();
			trace("So subsubmenu_mc"+i + " needs to be removed");
                }
        }
}

but it keeps tracing all subsubmenu_mc (that is subsubmenu_mc1, subsubmenu_mc2 and subsubmenu_mc3 when mc = subsubmenu_mc2)

Any tips?