# Forward or back buttons based on x\_position of mouse

**URL:** https://forum.kirupa.com/t/forward-or-back-buttons-based-on-x-position-of-mouse/274742
**Category:** flash
**Created:** [November 4, 2008, 3:16am UTC](https://forum.kirupa.com/t/forward-or-back-buttons-based-on-x-position-of-mouse/274742 "2008-11-04T03:16:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bennimartin](https://avatars.discourse-cdn.com/v4/letter/b/ac8455/32.png) [@bennimartin](https://forum.kirupa.com/u/bennimartin)
#### Post date: [November 4, 2008, 3:16am UTC](https://forum.kirupa.com/t/forward-or-back-buttons-based-on-x-position-of-mouse/274742/1 "2008-11-04T03:16:02Z")

</div>

Hey All,  
There’s an effect i have seen on numerous image galleries or headers where depending on the x position of the mouse a forward arrow appears on the extrem right of the movie or conversly a back arrow on the extreme left.

Does anybody know of a source file or a tutorial that i can look at to get an understanding of the actionscripting involved in this.

Kind Regards,  
Ben
