# Actionscript tiles?

**URL:** <https://forum.kirupa.com/t/actionscript-tiles/307115>\
**Category:** flash\
**Created:** [March 28, 2010, 7:37pm UTC](https://forum.kirupa.com/t/actionscript-tiles/307115 "2010-03-28T19:37:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robin105](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@Robin105](https://forum.kirupa.com/u/Robin105)\
**Post date:** [March 28, 2010, 7:37pm UTC](https://forum.kirupa.com/t/actionscript-tiles/307115/1 "2010-03-28T19:37:54Z")

</div>

```auto
for(var vary = 0; vary <= 2; vary++) {
    for (var varx = 0; varx <= 2; varx++) {
        var idname = "t_"+varx+"_"+vary;
        this.attachMovie("tile", idname, 1);
        this.idname.gotoAndStop(1);
        this.idname._x=XDis;
    }
}

```

This is the code i am using to show the tiles, but the tile pops up in ONE place, but it doesn’t go to and stop at frame 2 :(, can anyone help?
