:h:
Hi there my first post here…
i try to get so it will only scroll when im over the items but if i got the scoller upper left corner somthing it still move i got it in a separate movie clip in a action frame dunno what im doing wrong tbh any idé would like to hear some few idés how i should go on=)
mouseX = _xmouse;
menuX = menu._x;
if (mouseX > 280) {
diff = (mouseX-280)/15;
}
if (mouseX < 220) {
diff = (220-mouseX)/15;
}
if (mouseX <= 250 && menuX <= 56) {
setProperty("menu", _x, menuX+diff);
}
if (mouseX >= 250 && menuX >= -204) {
setProperty("menu", _x, menuX-diff);
}
if (menu._x >= 56) {
menu._x = 56;
} else if (menu._x <= -204) {
menu._x = -204;
}
gotoAndPlay(2);