# Help with Kirupa infinite menu

**URL:** https://forum.kirupa.com/t/help-with-kirupa-infinite-menu/278687
**Category:** flash
**Created:** [January 3, 2009, 10:26pm UTC](https://forum.kirupa.com/t/help-with-kirupa-infinite-menu/278687 "2009-01-03T22:26:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![prossi](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@prossi](https://forum.kirupa.com/u/prossi)
#### Post date: [January 3, 2009, 10:26pm UTC](https://forum.kirupa.com/t/help-with-kirupa-infinite-menu/278687/1 "2009-01-03T22:26:23Z")

</div>

Hello everybody,  
I’m pretty new to flash and have been playing with the infinite menu tutorial, however I have been trying to just allow the scrolling effect to take place only on mouse over but with very little success. I know its an old tut’ and I have searched the forum for a possible answer but it seems the question has been asked many times without possible resolve. the nearest code I could find was posted on another thread from 2007:

transparent\_mc.[COLOR=#0000ff]onRollOver[/COLOR] = [COLOR=#000000] **function** [/COLOR]COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]  
menu\_mc.[COLOR=#0000ff]onEnterFrame[/COLOR] = [COLOR=#000000] **function** [/COLOR]COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]  
[COLOR=#000000] **var** [/COLOR] distance = [COLOR=#0000ff]\_root[/COLOR].\_xmouse-xcenter;  
[COLOR=#0000ff]this[/COLOR].[COLOR=#0000ff]\_x[/COLOR] -= COLOR=#000000[/COLOR];  
[COLOR=#0000ff]if[/COLOR] [COLOR=#000000]([/COLOR][COLOR=#0000ff]this[/COLOR].[COLOR=#0000ff]\_x[/COLOR] \> [COLOR=#000080]150[/COLOR][COLOR=#000000])[/COLOR] [COLOR=#0000ff]this[/COLOR].[COLOR=#0000ff]\_x[/COLOR] = [COLOR=#000080]150[/COLOR];  
[COLOR=#0000ff]if[/COLOR] [COLOR=#000000]([/COLOR][COLOR=#0000ff]this[/COLOR].[COLOR=#0000ff]\_x[/COLOR] \< -[COLOR=#000080]800[/COLOR][COLOR=#000000])[/COLOR] [COLOR=#0000ff]this[/COLOR].[COLOR=#0000ff]\_x[/COLOR] = -[COLOR=#000080]800[/COLOR];  
[COLOR=#000000]}[/COLOR]  
[COLOR=#000000]}[/COLOR]  
transparent\_mc.[COLOR=#0000ff]onRollOut[/COLOR] = [COLOR=#000000] **function** [/COLOR]COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]  
[COLOR=#0000ff]delete[/COLOR] menu\_mc.[COLOR=#0000ff]onEnterFrame[/COLOR];  
[COLOR=#000000]}[/COLOR]

I created a transparent movieclip (instance; transparent\_mc) to cover the menu\_mc as previously suggested and entered the above code directly on the timeline. I removed the var portion from the existing action applied to the menu\_mc and at that point the menu doesn’t scroll at all.  
Any help would be appreciated, Thanks…
