# Adding Image to Container Help. Multi-Dimensional Arrays tutorial

**URL:** <https://forum.kirupa.com/t/adding-image-to-container-help-multi-dimensional-arrays-tutorial/202777>\
**Category:** flash\
**Created:** [October 4, 2006, 7:11pm UTC](https://forum.kirupa.com/t/adding-image-to-container-help-multi-dimensional-arrays-tutorial/202777 "2006-10-04T19:11:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tsj4](https://avatars.discourse-cdn.com/v4/letter/t/7ea924/32.png) [@tsj4](https://forum.kirupa.com/u/tsj4)\
**Post date:** [October 4, 2006, 7:11pm UTC](https://forum.kirupa.com/t/adding-image-to-container-help-multi-dimensional-arrays-tutorial/202777/1 "2006-10-04T19:11:21Z")

</div>

[LEFT]I am trying to add a image to the container but am having problems. The image variable is loading fine but not attinching itself to the empty MC I have on the container.

```auto
memberInfo = [["Cnet", "Online Search Engine", "http://www.cnet.com", "images/bp1_s.jpg"], ["Yahoo", "Online Search Engine", "http://www.yahoo.com", "images/bw1_s.jpg"], ["Google", "Record Label Information Site", "http://www.Google.com", "images/ms1_s.jpg"]];
var xPos = 10;
var yPos = 10;
for (i=0; i<memberInfo.length; i++) {
    attachMovie("container", "new"+i, i, {_x:xPos, _y:yPos});
    yPos += this["new"+i]._height+5;
    this["new"+i].name.text = memberInfo*[0];
    this["new"+i].interest.text = memberInfo*[1];
    this["new"+i].link = memberInfo*[2];
    this["new"+i].image = memberInfo*[3];
    
}

```

And this is on the instance of the empty movie clip oin the container

```auto
onClipEvent (enterFrame) {
    load(this.image);
}

```

[/LEFT]
