#1 (permalink)  
Old 06-14-2008, 03:32 AM
Junior Member
 
Join Date: Jun 2008
Posts: 1
Default Mouse tracking area

Dear Oxylus,

I have purchased this vitrical menu and it's been great! My question: (I'm not a super coder) Is there a provision for limiting the mouse tracking to the size of the resulting scrolling menu?

Currently, I have a 75 x 290 menu in a much larger flash doc... and no matter where the mouse is... it scrolls the menu~

Thanks so much!

DW
Reply With Quote
  #2 (permalink)  
Old 06-16-2008, 09:21 AM
Super Moderator
 
Join Date: May 2008
Posts: 518
Send a message via Skype™ to Adrian
Default

Hi,
Open oxylus/ScrollingMenu/ScrollingList.as and search for:

Code:
private function onMouseMove() { ...
add a new line of code:

Code:
private function onMouseMove() {

if(!this.hitTest(_root._xmouse, _root._ymouse,true)) return;
...
This should restrict the hit area.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.