в принципе да, но если кнопок 100, то сложновато!!
попробовал так, но не выходит:

Код HTML:
this[i].onRelease = function() {
for (j=1; j<=4; j++) {
this._parent[j].gotoAndStop(1+(this.n == j));
flagnew = "flag"+j;
this._parent[j].flagnew = (0+(this.n == j));
this._parent[j].col= new Color(this.n);
this._parent[j].col.setRGB(0xff9900);
trace(this._parent[j].flagnew);
}
};
this[i].onRollOver = function() {
for (j=1; j<=4; j++) {
flagnew = "flag"+j;
this._parent[j].flagnew = 0;
//trace(this._parent[j].flagnew);
if(this._parent[j].flagnew = 0) {
this._parent[j].col= new Color(this.n);
this._parent[j].col.setRGB(0xff9900);
} else {
this._parent[j].col= new Color(this.n);
this._parent[j].col.setRGB(0xff9900);
}
}
};
this[i].onRollOut = function() {
for (j=1; j<=4; j++) {
flagnew = "flag"+j;
this._parent[j].flagnew = 0;
if(this._parent[j].flagnew == 0) {
this._parent[j].col= new Color(this.n);
this._parent[j].col.setRGB(0x000066);
} else {
this._parent[j].col= new Color(this.n);
this._parent[j].col.setRGB(0xff9900);
}
}
};
}