# This\["name" + i\] alternative for flash 6

**URL:** <https://forum.kirupa.com/t/this-name-i-alternative-for-flash-6/174783>\
**Category:** Uncategorized\
**Created:** [January 9, 2006, 10:42am UTC](https://forum.kirupa.com/t/this-name-i-alternative-for-flash-6/174783 "2006-01-09T10:42:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Perenboom](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@Perenboom](https://forum.kirupa.com/u/Perenboom)\
**Post date:** [January 9, 2006, 10:42am UTC](https://forum.kirupa.com/t/this-name-i-alternative-for-flash-6/174783/1 "2006-01-09T10:42:54Z")

</div>

Hi Guys,

I have this code that I use for Flash Player 7:

```auto

for(i=0;i<10;i++){
        var newX = 3;
        project_mc.duplicateMovieClip("project" + i, this.getNextHighestDepth(), {_y:newY, _x:newX});
        this["project" + i].listID = i;
        this["project" + i].onRelease = function() {
            geselecteerdProject = this.listID;
            laatProjectZien();
        }
        newY += 25;
    }

```

but now i have to make it compatible with flash player 6 and i guess this[“project” + i] can’t be used. Does anybody know an alternative for this?
