Accessing mc on stage in series

Hi…

im trying to do a small card trick on flash cs4 using as3…
i have 56 diff mcs on stage with instance names like c1,c2,c3,c4…c56… and i need to acces nly 10 of at a time in a random order…
i ran the random no. generating codes and got 10 diff random numbers (from 1 to 56) and stored it in an array as array[0],array[1]… all this works fine…

now how do i access the individual movie clips???

thought it was simply like:
for (var i=0; i<=10; i++) {
“c”+array*.visible=false;
}

this obviously did not work… pls help… thnaks in advance :slight_smile: