# Problems with coding

**URL:** <https://forum.kirupa.com/t/problems-with-coding/44071>\
**Category:** programming\
**Created:** [February 28, 2004, 11:03pm UTC](https://forum.kirupa.com/t/problems-with-coding/44071 "2004-02-28T23:03:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Delta](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@Delta](https://forum.kirupa.com/u/Delta)\
**Post date:** [February 28, 2004, 11:03pm UTC](https://forum.kirupa.com/t/problems-with-coding/44071/1 "2004-02-28T23:03:44Z")

</div>

I’m having problems coding my stupid map maker… I have all the tiles I need done… but I can’t get the coding to work for nothing

All I wanted was the program to duplicate one tile and then draw it over and over… line make a box with the one tile… but it didn’t work… it wouldn’t even copy the tile :puzzle: but ya… could anyone give me some code that does that… like heres what I had

for (i = 1; i\>10;i++){  
duplicateMovieClip(“tile”, “t”+i, i);  
\_root[“t”+i].\_x = 100 + i\*20;  
\_root[“t”+i].\_y = 100;  
}

but it doesn’t draw the tiles across in a line… it doesn’t draw them at all ☹  
I hate it!
