# Simulating an iPhone slide button

**URL:** <https://forum.kirupa.com/t/simulating-an-iphone-slide-button/307065>\
**Category:** flash\
**Created:** [March 27, 2010, 11:51am UTC](https://forum.kirupa.com/t/simulating-an-iphone-slide-button/307065 "2010-03-27T11:51:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joobny](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@joobny](https://forum.kirupa.com/u/joobny)\
**Post date:** [March 27, 2010, 11:51am UTC](https://forum.kirupa.com/t/simulating-an-iphone-slide-button/307065/1 "2010-03-27T11:51:56Z")

</div>

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?
