Hi - Ive tried implementing the code but am still havent a slight problem - I have 22 buttons - when I click on one button I want to deactive the others (the loop code) but none of them seem to deactive Im guessing it must be something to do with the naming of the mc
button code...
on (release) {
longname = this._name;
end = longname.substr(7, longname.length);
this._parent.navclick(longname);
}
function navclick(Mynext) {
if (current<>Mynext) {
for (loop=0; loop<=22; loop++) {
this[loop].gotoAndStop(1);
}
this[Mynext].gotoAndStop(3);
current = Mynext;
}
}