Trouble with attachMovie

Hello,

I’m trying to make a photo gallery using AS2 and XML, my thumbnails work fine, a reflect added via the Reflect class works too but I’d like to attach a movieClip to my thumbnails so that when you roll over it, this movieClip starts to play… I’ ve tried the attachMovie method after the loading of the thumbnails (onLoadInit then) but it’s still not working !! The same attachMovie to the scene works but not when I try to attach it to my thumbnails, I think I’ve got some trouble with the targeting of my thumbnails or with the place in the script where I try to do the trick

here’s my code :

[LIST=1]
[*]var monTableauSrc:Array = new Array();
[*]var monLoader:MovieClipLoader = new MovieClipLoader();
[*]var monListener:Object = new Object();
[*]var monXml = new XML();
[*]monXml.load("galeries.xml");
[*]monXml.ignoreWhite = true;
[*]monXml.onLoad = function()
[*]{
[*]    for (var i:Number = 0; i < monXml.firstChild.childNodes.length; i++)
[*]    {
[*]        //trace(monXml.firstChild.childNodes*.childNodes[0].firstChild);
[*]        monTableauSrc.push(monXml.firstChild.childNodes*.childNodes[0].firstChild);
[*]    }
[*]    afficheImages();
[*]};
[*]function afficheImages()
[*]{
[*]    for (var i:Number = 0; i < 12; i++)
[*]    {
[*]        var mc:MovieClip = loader_mc.createEmptyMovieClip("min" + i, 1 + i);
[*]        var minLoader:MovieClipLoader = new MovieClipLoader();
[*]        minLoader.loadClip(monTableauSrc*.toString(),mc);
[*]        if (i >= 0 && i < 4)
[*]        {
[*]            mc._x += (120 * i);
[*]        }
[*]        if (i >= 4 && i < 8)
[*]        {
[*]            mc._x += (120 * (i - 4));
[*]            mc._y = 200;//95/2 (95 =  taille min)
[*]            //trace(i);
[*]        }
[*]        if (i >= 8 && i < 12)
[*]        {
[*]            mc._x += (120 * (i - 8));
[*]            mc._y = 400;//95/2 (95 =  taille min)
[*]            //trace(i);
[*]        }
[*]        var loaderListener:Object = new Object();
[*]        minLoader.addListener(loaderListener);
[*]        loaderListener.onLoadInit = function()
[*]        {
[*]            ajouteReflet();
[*]        };
[*]    }
[*]}
[*]function ajouteReflet()
[*]{
[*]    for (var i:Number = 0; i < 12; i++)
[*]    {
[*]        loader_mc["min" + i].id = i;
[*]        reflect = new Reflect(loader_mc["min" + i], 5, 100, 5);
[*]        loader_mc["min" + i].onRelease = function()
[*]        {
[*]            //trace(this);
[*]            this.attachMovie("test", "test"+this.id, this.getNextHighestDepth());
[*]        };
[*]    }
[*]}[/LIST]

I don’t know where I’m wrong, thanks in advance for your help !!!