ciao prova questo:
codice://imposto movimento slide step =3 fine = _root.tuocontenitore._y; b = 0; spostamento = 80; _root.tuocontenitore.onEnterFrame = function() { inizio = _root.tuocontenitore._y sposta = (fine-inizio)/step; _root.tuocontenitore._y += sposta; }; _root.giubtn.onPress = function() { if (b>=0 and b<step) { trace("step_giu "+b) fine -= spostamento; b++; } }; _root.subtn.onPress = function() { if (b<=step and b>0) { trace("step_su "+step) fine += spostamento; b--; } };![]()

Rispondi quotando