Buttons in movieclip not working in main movie

Hi,

I am really a novice at flash and still using CS2 so sorry if this is confusing.

I have a website where I have designed a scrolling thumbnail panel with nested buttons that are coded to load external swfs into a holder on the page.

I am guessing that the problem must stem from the original file with the panel being 3 swfs deep in the final site. The panel and the buttons work fine when they are 1 or 2 swfs deep but I can’t get them to work from the main navigation page. I have played with the _parent function and I can’t seem to get it to work. I have also put the buttons on the main nav pages library as I read that that was necessary but again it didn’t get it to work. Here is my code below. I thank anyone in advance greatly for any help you can provide.

this is the bottom layer page - it is supposed to load a discography.


var mcl:MovieClipLoader = new MovieClipLoader();

var mclL:Object = new Object();

mclL.onLoadProgress = function(target,loaded,total) {
    loader.percent.text = Math.round((loaded/total) * 100) + "%";    
}

mclL.onLoadInit = function() {
    loader._visible = false;
    loader.percent.text = "";
}

mcl.addListener(mclL);

mcl.loadClip("music.swf",holder);

_parent.panel.thmWeAre.onRelease = function() {
    loader._visible = true;
    mcl.loadClip("music.swf",holder);
}

_parent.panel.thmPeace.onRelease = function() {
    loader._visible = true;
    mcl.loadClip("peacetime.swf",holder);
}

_parent.panel.thmSampler.onRelease = function() {
    loader._visible = true;
    mcl.loadClip("sampler.swf",holder);
}

_parent.panel.thmHbrids.onRelease = function() {
    loader._visible = true;
    mcl.loadClip("hbrids.swf",holder);
}

_parent.panel.thmphant.onRelease = function() {
    loader._visible = true;
    mcl.loadClip("phant.swf",holder);
}

panel.thmMasters.onRelease = function() {
    loader._visible = true;
    mcl.loadClip("masters.swf",holder);
}

panel.thmOm.onRelease = function() {
    loader._visible = true;
    mcl.loadClip("om.swf",holder);
}

panel.onRollOver = panelOver;

function panelOver() {
    this.onEnterFrame = scrollPanel;
    delete this.onRollOver;
}

var b = stroke.getBounds(_root);

function scrollPanel() {
    if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax) { 
           this.onRollOver = panelOver;
        delete this.onEnterFrame;
    }

    if(panel._x >= 9) {
        panel._x = 9;
    }
    
    if(panel._x <= -110) {
        panel._x = -110;
    }
    
    var xdist = _xmouse - 400;
    
    panel._x += -xdist / 9;
}