# Simple, but

**URL:** <https://forum.kirupa.com/t/simple-but/209423>\
**Category:** Uncategorized\
**Created:** [December 8, 2006, 5:45pm UTC](https://forum.kirupa.com/t/simple-but/209423 "2006-12-08T17:45:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ParanoidAndroid](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@ParanoidAndroid](https://forum.kirupa.com/u/ParanoidAndroid)\
**Post date:** [December 8, 2006, 5:45pm UTC](https://forum.kirupa.com/t/simple-but/209423/1 "2006-12-08T17:45:18Z")

</div>

i’m in my first classes of action script. what i have to do is very simple: a small square must appear, after half a second or so,to the right of the preceding square.after completing 10 squares, it must start in a new row, behind the first. in other words, it must complete a grid of squares.  
i know \*\*for, if, attachMovie, onEnterFrame, \*\*with this is more than enough to do this, but i just can’t figure out how.  
onEnterFrame=function(){  
for(i=1;i\<10;i++){  
var clip\_mc=MovieClip  
clip\_mc=\_root.attachMovie(“circle”,“ball\_mc”+i,i)  
clip\_mc.\_x=i\*30  
clip\_mc.\_y=190  
}  
};

of course this did´t work, what am i doing wrong? how can i make the squares appear sequentially???  
please help!!!:puzzled:
