# Addressing movie clips via Array...?

**URL:** <https://forum.kirupa.com/t/addressing-movie-clips-via-array/315007>\
**Category:** flash\
**Created:** [October 14, 2010, 6:30pm UTC](https://forum.kirupa.com/t/addressing-movie-clips-via-array/315007 "2010-10-14T18:30:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghostir](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@ghostir](https://forum.kirupa.com/u/ghostir)\
**Post date:** [October 14, 2010, 6:30pm UTC](https://forum.kirupa.com/t/addressing-movie-clips-via-array/315007/1 "2010-10-14T18:30:35Z")

</div>

Yet _another_ AS3 newbie question…

My Flash file provides a small number (say, 4) of user-selected “displays”. Within each display, there are up to four “link” movie clips, each of which are (or should be) selectable.

The displays have instance names of display0\_mc, display1\_mc, display2\_mc, and display3\_mc. I can address each display through an array…

var display:Array = [display0\_mc, display1\_mc, display2\_mc, display3\_mc];

…as display[0], display[1], etc.

Now, the four links within each display are named link0\_mc through link3\_mc. (Each of these is actually a movie clip containing a dynamic text field, link\_txt, and a few other elements not relevant here.)

Is there a means, within AS3, by which I may address each of these link movie clips _within each display_ through an array, similar to how I’m addressing each display?

Such as… display[i].link[j] …? I’ve been unsuccessful at defining such an array for the link movie clips _within_ the display.

Thank you in advance!
