Having trouble with For loops

hi everyone… im wondering if someone could offer me some direction with the execution of this for loop.

here is the basic premise…

function DisableTMBS (){
	for(i=1; i<20; i++){
		var TMBSOff="_root.mc_tmbsPanel.mc_TMBS.mc_tmb"+i
		TMBSOff.enabled=false;
	}
}

_root.textbutton.onPress=function(){
	DisableTMBS();
}

i need to disable a string of thumbnails which are organized in a scorllable panel… but i need them to remain visible.
When i trace “TMBSOff”, i get appropriate values…
_root.mc_tmbsPanel.mc_TMBS.mc_tmb1… and so on and so on… but turning those movie clips off through that variable does not work.

how would i achieve this? any direction would be really appreciated…