# Loop doesn't position mcs in right place

**URL:** <https://forum.kirupa.com/t/loop-doesnt-position-mcs-in-right-place/88501>\
**Category:** Uncategorized\
**Created:** [April 29, 2005, 7:25pm UTC](https://forum.kirupa.com/t/loop-doesnt-position-mcs-in-right-place/88501 "2005-04-29T19:25:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mprzybylski](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mprzybylski/32/613_2.png) [@mprzybylski](https://forum.kirupa.com/u/mprzybylski)\
**Post date:** [April 29, 2005, 7:25pm UTC](https://forum.kirupa.com/t/loop-doesnt-position-mcs-in-right-place/88501/1 "2005-04-29T19:25:48Z")

</div>

i have a loop as follows and the positioning is doing nothing, they are all just standing in one place one on top of the other. any help is greatly appreciated.

```auto
this.createEmptyMovieClip("thumbHolder_mc", this.getNextHighestDepth());
for (var i:Number = 0; i < 20; i++) {
    var thumbnail = "thumb" + i + "_mc";
    thumbHolder_mc.attachMovie("thumb", "thumbnail", 1000 + i);
    thumbnail._x += (i * 10);
}

```
