onRelease vs for loop

hi.
I need to get the x, y.I can not convert AS2 to AS3.
AS2:


for (x = 0; x < 5; x++){
    for (y = 0; y < 5; y++){  
        var tile = mc.attachMovie("Tile", "Tile" + depth, depth++);
        tile._x = spacing * (x + y);
        tile._y = spacing/2 * (x - y);
        tile.x = x;
        tile.y = y;
        tile.onRelease = function(){
            trace("x: "+this._x+", y: "+this._y);
        } 
    }
}

How to get this.x, this.y in AS3?
I tried:


  tile.addEventListener("click",onClick);
function onClick(e:Event){
      trace(e.target.x+","+e.target.y);
     //trace(this.x+","+this.y);
}

who can help me?
thanks for help