This is the situation; I have a meny here with 5 buttons. They are called “undermeny1.btn1”, “undermeny1.btn2” etc. What I need to add to this code is that when I click Button 1, this button gets disabled, and if I then click lets say Button 4, Button 1 gets enabled and Button 4 disabled. Maybe an easy one but I just cant think straight. Someone please help.
Here’s the code for my buttons (“undermeny1” is the mc in which the buttons live);
for(var i=1;i<=8;i++){
var meny = undermeny1;
_root[“meny”][“btn”+i].ivar=i;
_root[“meny”][“btn”+i].onRollOver = over;
_root[“meny”][“btn”+i].onRollOut = out;
_root[“meny”][“btn”+i].onRelease = function(){
_level0.myMCL.loadClip (“content/gregory/sub”+this.ivar+".swf", 10);
}
}