I just finished uploading a new tutorial that shows you how to create a regular slider and then take it to another level by adding throw physics to it. Trust me, this is not you parent’s slider! Most of what I’ve learned about animation physics comes from Keith Peter’s excellent ActionScript Animation book. Check it out at gotoandlearn.com. You can see the final result below.
Update: There was a slght bug where the slider wouldn’t come to a complete stop when moving to the left. This was because vx never actually reached zero. This is easily fixed by adding the following line of code. I updated the tutorial files with the fix.
if(Math.abs(vx) < 0.5) vx = 0;