# Loop

**URL:** <https://forum.kirupa.com/t/loop/269806>\
**Category:** Uncategorized\
**Created:** [September 1, 2008, 10:20pm UTC](https://forum.kirupa.com/t/loop/269806 "2008-09-01T22:20:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreffonseca](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@andreffonseca](https://forum.kirupa.com/u/andreffonseca)\
**Post date:** [September 1, 2008, 10:20pm UTC](https://forum.kirupa.com/t/loop/269806/1 "2008-09-01T22:20:11Z")

</div>

Gretings…

I have some problem here.

for (i = 1; i \< 10; i++){  
trace(i);  
imageLoader.x = 30 \* i;  
imageLoader.y = 30 \* i;

addChild(imageLoader);  
}

what this loop do is add only one imageLoader…insted of adding 10 ?

Can someone tell me why please?

Thanks in advance.
