let me describe the .fla. I have a mc in the middle (logo) and I have 1 button to either side of the mc logo. The one on the left is yes and the other is no. What I am trying to make happen is when the person mouses over the button (yes). I want the logo to slide over to the button and when a mouse out occurs slide back to the middle (smoothly) like wise for the other button. Any help would be greatly appreciated. Oh yeah this happens only on the x axis (the sliding that is)
var xrstr = xctrl=logo._x, ease = 10;
logo.onEnterFrame = function() {
this._x += (xctrl-this._x)/ease;
};
yes.onRollOver = no.onRollOver=function () {
xctrl = this._x;
};
yes.onRollOut = no.onRollOut=function () {
xctrl = xrstr;
};