Flash AS Help
- Started
- Last post
- 7 Responses
- pushme
I'm trying to have my navigation scroll when the mouse is within a x&y range. The problem is it doesn't track the mouse accurately. Any suggestions?
scrolling code:
http://www.marydonnan.com/temp/t…
- ********0
forgive me if I'm wrong but the scroll is only on the little buttons left and right, yeah??
- pushme0
thats correct. those thumbnails are my navigation. most aren't working at the moment.
- ********0
so if you're only wanting it to scroll onPress of the arrows you don't need anything so complex....
clipHoldingThumbs._x ++;
to go right and
clipHoldingThumbs._x ++;
to go left.Or do you mean that you want it to move proportional to the mouse??
- pushme0
Yeah. The speed of the scrolling menu increases as you get closer to the "button"Its an onRollOver event but using onRollOver doesn't keep the scroll going so thats why i've done it with the if... but with the if, using the x&y area, the scroll isn't always stopping once the mouse is outside that area.
- ********0
probably due to how you are triggering the whole thing....
is it in an EnterFrame event??
- pushme0
its not within an "on" event. Its in the first frame w/in the mask movieclip. The mask moves along and exposes the thumbnaisl.
- ********0
I'm obviously far too daft... you're gonna have to explain or send me the FLA.....
Are we talking about the same file??
the tumbnails are moving, yeah?? Not any mask......