yes, much simpler.

you can either use the tween class which is implemented in mx,

or just calculate the y while you change the x with a certain amount.

1)

check this post
2)straight line equation:

y = y0 + (x - x0)*(y1-y0)/(x1-x0);

x0, y0 ---------------x, y----------------------- x1, y1

(start point......... current point............... end point)

that means, when you start to drag, onPress, save the position of your mc -> that would be the end point.

When you stop drag, you have your start point.

Then, start to add to the x ... let's say 1/10 of the distance (x0 - x1) / 10 -> if x0 - x1 is negative, then it will add a negative value (substract), meaning it will move from right to left. If it's positive, it will add a positive value -> move from left to right. So that means you don't have to check if x0 - x1 is negative or positive.

After this, calculate the y with the given formula and set your movie coordinates to the calculated x, y.

This will repeat untill Math.round(x1) == Math.round(x);