Hey everyone. So I’m down to the very last revision of a site I’m designing, and they want to change the infinite menu to use left and right buttons that you rollover to make the menu scroll left and right, rather than where the mouse is to make the thing scroll.
How do I translate this…
onClipEvent (load)
{
xcenter=400;
speed=1/20;
}
onClipEvent (enterFrame)
{
var distance=_root._xmouse-xcenter;
_x+=(distance*speed);
if (_x > 0) _x=-800;
if (_x < -800) _x=0;
}
…onto a left and right button that make it scroll the appropriate direction?
Could use this asap.
Thanks a ton
Evan