Tracing mult MC on the stage

Ok I have 4 MC on the main timeline and each one is named MC_0 too MC_3. I want to be able to trace which on you pressed. I have my code in a new layer, and Im not really sure what I have gotten wrong. I keep getting “undefined”.


for (i=0; i<=4; i++) {
	eval("_root.MC_"+i).onPress = function() {
		trace(eval("_root.MC_"+i));
	}
}