Sliding transition

I posted this on the flashmx forum but no one answered, gonna give it a shot here…
What i am trying to achieve is a transition that goes both back and forth.
If you look at my file, if you press 2 the square goes to number 2. How to do, that when you press 3 from 1 it goes past 2. And if you press from 4 to 1 it goes back on the timeline?
hope you understand

i think you meant you posted it in mx2004 (b/c it seems like you’re using a mx2004 file, which can’t be opened in mx). anyway, you’re talking about easing. go here, look at the attached fla: