Accessing MC's in a for loop: a syntax question
This must be a really silly question but here goes: I am trying to access properties of multiple MCs on the stage. I would like to us a for loop and it's index to access these MCs. Here is what I'm thinking:
mcs_set = 0;
for ( i = 0; i < MC_COUNT_TOTAL; i++ )
mc = i;
if ( mc_holder_i.am_i_set == true )
trace("A MC has been set!");
Obviously the problem lies with using "i" to access the MCs: mc_holder_0, mc_holder_1, mc_holder_2, etc.
So my question: What is the proper syntax for accessing mutiple MCs via a for loop?
Cheers and thanks!