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

Hi Guys,

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


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?