# AS2 array question

**URL:** <https://forum.kirupa.com/t/as2-array-question/331142>\
**Category:** flash\
**Created:** [May 28, 2013, 2:50pm UTC](https://forum.kirupa.com/t/as2-array-question/331142 "2013-05-28T14:50:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skarab](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Post date:** [May 28, 2013, 2:50pm UTC](https://forum.kirupa.com/t/as2-array-question/331142/1 "2013-05-28T14:50:51Z")

</div>

I have a grid of movie clips onstage, called boxA1\_mc, boxA2\_mc, etc, through box G12\_mc. I’d like to write one function to operate all of these using an array. My knowledge of arrays is limited to things like “attachMovie”, where movie clips are named and loaded dynamically.  
Where I’m stumped is how to use an array to, e.g., write one function to operate all these mc’s once they’re already named and onstage.  
Any help appreciated!
