# Accessing mc on stage in series

**URL:** <https://forum.kirupa.com/t/accessing-mc-on-stage-in-series/297534>\
**Category:** Uncategorized\
**Created:** [October 4, 2009, 5:19pm UTC](https://forum.kirupa.com/t/accessing-mc-on-stage-in-series/297534 "2009-10-04T17:19:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vigneshbhim](https://avatars.discourse-cdn.com/v4/letter/v/f475e1/32.png) [@vigneshbhim](https://forum.kirupa.com/u/vigneshbhim)\
**Post date:** [October 4, 2009, 5:19pm UTC](https://forum.kirupa.com/t/accessing-mc-on-stage-in-series/297534/1 "2009-10-04T17:19:03Z")

</div>

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 🙂
