onLoadInit onEnterFrame Problem

I am using movieClipLoader to load external swfs via xml. I am trying to set it up to automatically play the next movie after the current swf is done. The problem is, after the current swf is done playing, the actionscript tries to load all the rest of the swfs in the xml file and not just the next one. So it ends up playing the last swf in the xml file. I added “delete this.onEnterFrame” but still not working… see code below, thanks in advance for the help


listener = function(){
    my_mc = new MovieClipLoader();
    preload = new Object();
    var cont:Number = 1;
    preload.onLoadInit = function(targetMC:MovieClip):Void {
        targetMC.onEnterFrame = function() {
            if (this._currentframe == this._totalframes){
                my_mc.loadClip(topicsLinks[cont].attributes.variables, _root.movieContainer);
                trace("load next");
                trace(topicsLinks[cont].attributes.variables);
                cont++;
                delete this.onEnterFrame;
            }
        }; 
    };
    my_mc.addListener(preload);
    my_mc.loadClip(topicsLinks[0].attributes.variables, _root.movieContainer);
}