Prepari l'animazione che dà il movimento
MovieClip.prototype.muovi = function(target){
this.onEnterFrame = function()
this._x = tis._x + (target - this._x)/4;
if(Math.abs(target - this._x) < 0.3){
delete this.onEnterFrame;
}
}
}
E poi passi il valore al clic del pulsante
pulsante1.onRelease = function(){
indicatore.muovi(this._x);
}
pulsante2.onRelease = function(){
indicatore.muovi(this._x);
}
ecc.
o meglio ancora
for(i=1;i<=nPulsanti;i++){
_root["pulsante"+i].onRelease = function(){
indicatore.muovi(this._x);
}
}
ciao