# Help with exsisting code for scrolling flash 8 menu

**URL:** <https://forum.kirupa.com/t/help-with-exsisting-code-for-scrolling-flash-8-menu/246190>\
**Category:** flash\
**Created:** [December 7, 2007, 9:28pm UTC](https://forum.kirupa.com/t/help-with-exsisting-code-for-scrolling-flash-8-menu/246190 "2007-12-07T21:28:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![meglundy](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@meglundy](https://forum.kirupa.com/u/meglundy)\
**Post date:** [December 7, 2007, 9:28pm UTC](https://forum.kirupa.com/t/help-with-exsisting-code-for-scrolling-flash-8-menu/246190/1 "2007-12-07T21:28:47Z")

</div>

First thank you to all who read and help.

Here is a sample of what the page looks like so far:  
[http://paragon.sortismarketing.com/](http://paragon.sortismarketing.com/)

here is my code so far:

onClipEvent (load)  
{  
xcenter=453;  
speed=1/30;  
}  
onClipEvent (enterFrame)  
{  
var distance=\_root.\_xmouse-xcenter;  
\_x+=(distance\*speed);  
if (\_x \> 0) \_x=-440;  
if (\_x \< -440) \_x=0;  
}

My question is, those pictures are actual buttons that I would like to make larger when the user scrolls over them.

Meghan Lundy
