Simulating an iPhone slide button

Hello,

My friend is looking for help with a Flash project that he’s doing.

He’s making an interface design for the iPad, and he wants to simulate the finger-swipe that you can use on iPhones and iPads. How would he do this with a mouse in Flash? When the mouse is clicked and dragged in a certain direction, it must gotoAndPlay() a certain frame.

Any ideas?