Accessing mc:s...How?

I have this line of code:

endX = _root.followme_mc_0._x;

if i in a for-loop would like to adress, say 10 of these mc:s how do i write the code so i dont need to do like this:

endX0 = _root.followme_mc_0._x;
endX1 = _root.followme_mc_1._x;
endX2 = _root.followme_mc_2._x;
endX3 = _root.followme_mc_3._x;
endX4 = _root.followme_mc_4._x;
.
.
.

I would like to do it in a for loop instead
the problem is: How do i target the mc?

I have tried this:
for(t=0;t<10;t++)
endX[t] = root.followme_mc[t]._x

but that doesnt work!

Any ideas??