Duplicate movie blip for menu

i creat one movie clip that ll be load dinamic text and image from one xml document. well… i wanna do this with duplicateMovieClip but no work.


path = "";
//#
var xmlMenu:XML = new XML();
xmlMenu.ignoreWhite = true;
xmlMenu.load('data.xml');
xmlMenu.onLoad = function() {
    qtd = this.childNodes[0].childNodes.length;
    for (i=0; i<qtd; i++) {
        var nome = (this.childNodes[0].childNodes*.childNodes[0]);
        var imagemp = (this.childNodes[0].childNodes*.childNodes[1]);
        var imagemg = (this.childNodes[0].childNodes*.childNodes[2]);
        //#
        duplicateMovieClip (but, "but"+i, i);
        setProperty("but"+i, _x, ((i+1)*23));
        setProperty("but"+i, _y, 23);
        //#

        //#
        "but"+i.imagem.loadMovie(path + "small/" + imagemp);
        "but"+i.textofoto.htmlText = nome;
        "but"+i.onRelease = function() { getURL(path + "large/" + imagemg); };
    };
};
//#
this.stop();

:red: any idea ? please help-me.