Mouse over coordinates

I am looking to create a menu similar to the one found here:
All I need to know is how do you get the bar on this site the white rectangle) to go to a specific x-axis location on mouse over?
Any help would be much appreciated.

take a look at the easing tutorial on this site and rather than set endX to equal the x location of the mouse, set it to your specific point…

^^ make sense? if not, shout.


Im a little comfused on this one. I modified the code to just read:

onClipEvent (load) {
_x = 0;

speed = 5;

onClipEvent (mouseDown) {
endX = _root._xmouse;

onClipEvent (enterFrame) {
_x += (endX-_x)/speed;


so that it would only go on the x-axis. What part do I modify with the specific point? thanks for your patience.

very close, but is there a way to modifiy this code so when you mouse over one of a few areas, the following object will go to a specific point/coordinate?

I was able to modified it to just move on the x-axis but dont understand Actionscripting enought to take the next step.