this в peoplexml.onLoad указывает на peoplexml

Код:
var peoplexml:XML = new XML();
peoplexml.ignoreWhite = true;
var ref=this;
peoplexml.onLoad = function(success:Boolean) {
if (success) {
trace(this)
i = 10;
for (y=0; y<i; y++) {
duplicateMovieClip("box", "box"+y, y);
mc = ref["box"+y];
mc._x = box._x+(50*y);
}
}
};
peoplexml.load("tempx.xml");