Bended path

I have a textfield that I want to scroll.
Im using a ball as the sroller(scrollbar).

The problem:

I want to drag the ball
along a bended path. That starts
at x=0 y=0 and stops at
x=75 y=105 for example !