Sliding menu probs!

Hi,

Just used the fab Kirupa Menu with SLider tut. Everything works fine but I can’t centre the slider under my buttons! How can I shift it?

This is the code for the frame:


easeSpeed = 5;
//slider_mc is your Movie Clip's name, not the Instance Name.
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;
};
 

and the code for the slider:


onClipEvent (load) {
xMove = _x;
easeSpeed = 5;
}
onClipEvent (enterFrame) {
_x += (xMove-_x)/easeSpeed;
}

Any ideas how I can shift it a bit? Sorry for being such a newbie… :q:

Y