XML Menu attached MovieClip

Hi all,

I have a simple menu from an XML file which is in a MovieClip that is attached using attachMovie. This works fine, but I want to load another movie with attachMovie underneath the MC with the menu in. So what I want is background MovieClip is attached with attachMovie then on top of this another MC is attached this top MC is where the Menu will be loaded. If I load the menu MC on it’s own the menu works fine. If I attach the background MC and then the Menu MC on top the Menu doesn’t work.

any help

[AS]
this.attachMovie(“back_mc”, “back_mc”, 1);
back_mc._alpha = 0;
back_mc.onEnterFrame = function() {
this._alpha += 20;
if (this._alpha>=100) {
this._alpha = 100;
delete this.onEnterFrame;
firstPage();
}
};
firstPage = function () {
this.attachMovie(“firstPage_mc”, “firstPage_mc”, 2);
firstPage_mc._alpha = 0;
firstPage_mc._x = 50;
firstPage_mc._y = 20;
firstPage_mc.onEnterFrame = function() {
this._alpha += 20;
if (this._alpha>=100) {
this._alpha = 100;
delete this.onEnterFrame;
}
};
};
//
//
changeColor = function (tar, col) {
banColor = new Color(tar);
banColor.setRGB(col);
};
//
//
firstXml = new XML();
firstXml.ignoreWhite = true;
firstXml.onLoad = function(success) {
if (success) {
openNav();
} else {
trace(“First Page XML not Laoded”);
}
};
firstXml.load(“nav.xml”);
openNav = function () {
open = firstXml.firstChild.childNodes;
for (var n = 0; n<open.length; n++) {
openInfo = open[n];
firstNav = firstPage_mc.firstNav_mc.attachMovie(“firstBtn_mc”, “firstBtn_mc”+n, n+1);
firstNav.base_mc._alpha = 0;
firstNav._y = 18*n;
firstNav.name = openInfo.attributes.name;
firstNav.idColor = openInfo.attributes.color;
firstNav.name_txt.text = firstNav.name;
firstNav.onRollOver = function() {
this.base_mc._alpha = 85;
changeColor(this.base_mc, this.idColor);
};
firstNav.onRollOut = function() {
this.base_mc._alpha = 0;
};
}
};
[/AS]