I have a menu which works OK with two exceptions. There is one button active on the menu (Mix It Up) - there’s no rollover action on it yet, but it is clickable. I need the menu to respond in this way on click - that the menu will gradually move the selected item to the center and stop scrolling until the mouse is moved off the menu and back over again. Hope that makes sense.
The other (minor) problem is that the menu continues to scroll past the categories when your mouse is over the left side.
The AS I’m using is here:
mouseX = _xmouse;
menuX = menu._x;
if (mouseX>280) {
diff = (mouseX-280)/15;
}
if (mouseX<220) {
diff = (220-mouseX)/15;
}
if (mouseX<=250 && menuX<=612) {
setProperty("menu", _x, menuX+diff);
}
if (mouseX>=250 && menuX>=-1020) {
setProperty("menu", _x, menuX-diff);
}
if (menu._x>=612) {
menu._x = 612;
} else if (menu._x<=-1020) {
menu._x = -1020;
}
gotoAndPlay(2);
The fla is too large to post here, and I can’t upload an swf… So the files are posted here:
http://tidwellcreative.com/scroller.fla
http://tidwellcreative.com/scroller.swf
Much thanks for any help!