Deleting child movie clips in parent movie clip

ok so I when I click the bt1 I want it to make the home_text visible and remove all of the movie clips within the CreateXMLGallery function. But when I do gallery.removeMovieClip() it only deletes the gallery and none of the other movie clips that are created within the gallery. Any ideas why? here is the code.


stop();
/***********Button Functions*************/
launch_mc._visible = false;
easeSpeed = 5;
slider_mc.onEnterFrame = function() {
    this._x += (xMove1-this._x)/easeSpeed;
};
bt1.onRollOver = function() {
    bt1.blendMode = "invert";
};
bt1.onRollOut = function() {
    bt1.blendMode = "normal";
};
bt1.onPress = function() {
    xMove = bt1._x;
};
bt1.onRelease = function() {
    gallery.removeMovieClip();
    home_txt._visible = true;
};
bt2.onRollOver = function() {
    bt2.blendMode = "invert";
};
bt2.onRollOut = function() {
    bt2.blendMode = "normal";
};
bt2.onPress = function() {
    xMove = bt2._x;
};
bt2.onRelease = function() {
    gallery.removeMovieClip();
    home_txt._visible = false;
    createXMLGallery(webXML);
};
bt3.onRollOver = function() {
    bt3.blendMode = "invert";
};
bt3.onRollOut = function() {
    bt3.blendMode = "normal";
};
bt3.onPress = function() {
    xMove = bt3._x;
};
bt3.onRelease = function() {
    gallery.removeMovieClip();
    home_txt._visible = false;
    createXMLGallery(interactiveXML);
};
bt4.onRollOver = function() {
    bt4.blendMode = "invert";
};
bt4.onRollOut = function() {
    bt4.blendMode = "normal";
};
bt4.onPress = function() {
    xMove = bt4._x;
};
bt4.onRelease = function() {
    gallery.removeMovieClip();
    home_txt._visible = false;
    createXMLGallery(avXML);
};
bt5.onRollOver = function() {
    bt5.blendMode = "invert";
};
bt5.onRollOut = function() {
    bt5.blendMode = "normal";
};
bt5.onPress = function() {
    xMove = bt5._x;
};
bt5.onRelease = function() {
    gallery.removeMovieClip();
    home_txt._visible = false;
    createXMLGallery(designXML);
};
/**********End Button Functions**********/
/**********Load XML files**********/
var webXML:XML = new XML();
webXML.ignoreWhite = true;
webXML.onLoad = function(success) {
    if (success) {
        //trace("web XML File Loaded");
    }
};
webXML.load("web.xml");
var interactiveXML:XML = new XML();
interactiveXML.ignoreWhite = true;
interactiveXML.onLoad = function(success) {
    if (success) {
        //trace("interactive XML File Loaded");
    }
};
interactiveXML.load("interactive.xml");
var avXML:XML = new XML();
avXML.ignoreWhite = true;
avXML.onLoad = function(success) {
    if (success) {
        //trace("audio video XML File Loaded");
    }
};
avXML.load("audiovideo.xml");
var designXML:XML = new XML();
designXML.ignoreWhite = true;
designXML.onLoad = function(success) {
    if (success) {
        //trace("audio video XML File Loaded");
    }
};
designXML.load("design.xml");
/**********XML files loaded**********/
/**********Create the Gallery*******/
function createXMLGallery(whichXML) {
    var gallery:MovieClip = createEmptyMovieClip("gallery", getNextHighestDepth());
    gallery._x = 70;
    gallery._y = 170;
    var numImages = whichXML.firstChild.childNodes.length;
    var spacing:Number = 60;
    var columns:Number = 3;
    for (var i:Number = 0; i<numImages; i++) {
        this.proj_name = whichXML.firstChild.childNodes*.firstChild.firstChild.nodeValue;
        this.proj_type = whichXML.firstChild.childNodes*.firstChild.nextSibling.firstChild.nodeValue;
        this.thumbHolder = whichXML.firstChild.childNodes*.firstChild.nextSibling.nextSibling.firstChild.nodeValue;
        this.picHolder = whichXML.firstChild.childNodes*.firstChild.nextSibling.nextSibling.nextSibling.firstChild.nodeValue;
        this.proj_media = whichXML.firstChild.childNodes*.firstChild.nextSibling.nextSibling.nextSibling.nextSibling.firstChild.nodeValue;
        this.description = whichXML.firstChild.childNodes*.firstChild.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling.firstChild.nodeValue;
        this.proj_link = whichXML.firstChild.childNodes*.firstChild.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling.firstChild.nodeValue;
        this.thumbViewer = gallery.createEmptyMovieClip("thumb"+i, i);
        this.thumbViewer._x = (i%columns)*spacing;
        this.thumbViewer._y = Math.floor(i/columns)*spacing;
        this.thumbLoader = this.thumbViewer.createEmptyMovieClip("thumbnail_image", getNextHighestDepth());
        this.thumbViewer.description = this.description;
        this.thumbViewer.picHolder = this.picHolder;
        this.thumbViewer.proj_link = this.proj_link;
        this.thumbViewer.proj_name = this.proj_name;
        this.thumbViewer.proj_type = this.proj_type;
        this.thumbViewer.proj_media = this.proj_media;
        this.thumbViewer.whichXML = whichXML;
        this.thumbLoader.loadMovie(this.thumbHolder);
        this.thumbViewer.onRollOver = function() {
            var proj_name = this.proj_name;
            captionFN(true, proj_name, this);
            this.onRollOut = function() {
                captionFN(false);
            };
        };
        this.thumbViewer.onRelease = function() {
            launch_mc._visible = true;
            var url = this.proj_link;
            var type = this.proj_type;
            var media = this.proj_media;
            launch_mc.onRelease = function() {
                if (type == "Website") {
                    getURL(url);
                } else if (type == "Interactive") {
                    trace(url);
                    fscommand("exec", url);
                } else if (type == "Design") {
                    var shade:MovieClip = createEmptyMovieClip("shade", getNextHighestDepth());
                    with (shade) {
                        beginFill(0xFFFFFF, 75);
                        moveTo(0, 0);
                        lineTo(Stage.width, 0);
                        lineTo(Stage.width, Stage.height);
                        lineTo(0, Stage.height);
                        lineTo(0, 0);
                    }
                    shade.useHandCursor = false;
                    shade.onRelease = function() {
                        trace("OUCH");
                    };
                    shade.onPress = function() {
                        trace("OUCH");
                    };
                    var imageViewer:MovieClip = attachMovie("imageviewer", "imageView", getNextHighestDepth());
                    imageView._x = Stage.width/2-imageViewer._width/2-10;
                    imageView._y = Stage.height/2-imageViewer._height/2;
                    var closeMovie:MovieClip = attachMovie("close", "closeMov", getNextHighestDepth());
                    closeMovie._x = 568;
                    closeMovie._y = 75;
                    closeMovie._width = 48;
                    closeMovie._height = 19;
                    closeMovie.onRollOver = function() {
                        this._alpha = 50;
                    };
                    closeMovie.onRollOut = function() {
                        this._alpha = 100;
                    };
                    closeMovie.onRelease = function() {
                        imageView.removeMovieClip();
                        closeMovie.removeMovieClip();
                        shade.removeMovieClip();
                        thumb.removeMovieClip();
                    };
                    var thumb:MovieClip = createEmptyMovieClip("thumb", getNextHighestDepth());
                    thumb.attachMovie(url, "urlofmovie", getNextHighestDepth());
                    thumb._x = Stage.width/2-thumb._width/2-10;
                    thumb._y = Stage.height/2-thumb._height/2;
                } else if (type == "Video") {
                    fscommand("exec", url);
                }
            };
            var thumbInfo:MovieClip = createEmptyMovieClip("thumbinfo", getNextHighestDepth());
            //Description field attributes
            createTextField("desc", getNextHighestDepth(), 555, 170, 200, 300);
            desc.border = false;
            desc.multiline = true;
            desc.wordWrap = true;
            var my_fmt:TextFormat = new TextFormat();
            my_fmt.font = "Verdana";
            my_fmt.size = 12;
            my_fmt.align = "justify";
            desc.text = this.description+" 
Media: "+media;
            desc.selectable = false;
            desc.textColor = 0xffffff;
            desc.setTextFormat(my_fmt);
            //End description field attributes
            thumbInfo.loadMovie(this.picHolder);
            thumbInfo._x = 315;
            thumbInfo._y = 200;
        };
    }
}
/**************End Gallery*******************/