# Scrolling menu

**URL:** <https://forum.kirupa.com/t/scrolling-menu/3812>\
**Category:** flash\
**Created:** [September 7, 2001, 5:06pm UTC](https://forum.kirupa.com/t/scrolling-menu/3812 "2001-09-07T17:06:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 7, 2001, 5:06pm UTC](https://forum.kirupa.com/t/scrolling-menu/3812/1 "2001-09-07T17:06:52Z")

</div>

hi, i just want to know if anybody knows how to create one of those scrolling menu, when your mouse move further to the right, the menu scrolls to the left, and vice versa. until your mouse moves closer to the center, then the menu slows down. if nobody knows what i’m talking about, there’s a perfect similar example in the gallery section of [www.finalfantasy.com](http://www.finalfantasy.com)

and there are hoards of scrolling menu of everytype on this site [www.braincraft.com](http://www.braincraft.com)

really appreciate if anybody can help me out with this! thanx

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 7, 2001, 8:16pm UTC](https://forum.kirupa.com/t/scrolling-menu/3812/2 "2001-09-07T20:16:34Z")

</div>

use the mouse position and find its relation to the clip you need to move/scroll. a variable i’ve arbitrarily named “diff”

diff = \_root.\_xmouse - \_root.MCscroll.\_x;

move the movie some factor of the diff

\_root.MCscroll += diff/5;

that’s very brief, but should get you on the right track.

anyone care to expound? or reference a suitable tutorial?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 8, 2001, 3:24pm UTC](https://forum.kirupa.com/t/scrolling-menu/3812/3 "2001-09-08T15:24:38Z")

</div>

thanks suprabeener, even i know very simple actionscripting i’ll try to incorporate the info you gave me
