I have two clips a slider called bar and circle called ball.
I want ball to move as the user is using the vertical slider. The
bar_mc is locked on the y axis and the ball_mc is locked on the x
axis. The bar_mc is a slider (pan) control. When use it will
move/control the ball_mc. I need help to achieve this.
I'd use the MovieClip.startDrag() method instead of the
global function, but it doesn't really matter too much :) what you
need to do is also trigger an onEnterFrame event that updates the
position of 'ball' as you drag the 'bar'. something like: