There is a tutorial in kirupa that teach’s you how to do a slider:
http://www.kirupa.com/developer/mx2004/menu_with_slider.htm
Question I am asking is in the script:
easeSpeed = 5;
slider_mc.onEnterFrame = function() {
this._x += (xMove1-this._x)/easeSpeed;
};
button_1.onPress = function() {
xMove = button_1._x;
};
button_2.onPress = function() {
xMove = button_2._x;
};
button_3.onPress = function() {
xMove = button_3._x;
};
button_4.onPress = function() {
xMove = button_4._x;
};
That define’s how the slider will smooth in, does anyone know how to make it so when the slider smooths in it passes its target button and then comes back to it.