Problem drawing sprite border for xml driven MCs


I’m having an issue trying to automatically create a Sprite border for movieclips generated by an xml file.

Here is my loop function :

function callThumbs():void {
    for (var i:Number = 0; i < my_total; i++) {
        var thumb_url = my_images*[email protected];
        var thumb_loader = new Loader();
        thumb_loader.load(new URLRequest(thumb_url));
        thumb_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbOk); = i;

And the function called to finish the movieclip look

function thumbLoaded(e:Event):void {
var my_thumb:Loader = Loader(;
 var myBorder = new Sprite();; // choosing the colour for the fill, here it is red, -3, my_thumb.width+6,my_thumb.height+6); // (x spacing, y spacing, width, height);
 myBorder.filters = [new GlowFilter(0x000000, .50, 15, 15, 2, 2, false, false)];
 my_thumb.contentLoaderInfo.removeEventListener(Event.COMPLETE, thumbLoaded);

All the pictures from the xml file do load, they all have the glowfilter effect but only the first one has border… why ???

Thank you !