[F8] a simple one... if mc._x<-200, how to stop the mc moving?
this is simple and reveals my non existent ac skills:
i have a simple sideways scrolling menu. it functions ok, but i don't manage to stop the scroll when the menu_mc has reached it's end, that it, when menu_mc._x < -200. i've tried different if-statements without success. here's the part that does work all right:
Code:
_root.onEnterFrame = function() {
if (_root._ymouse > 50 && _root._ymouse < 150 and _root._xmouse >-10 && _root._xmouse <900){
menu_mc._x -= (_xmouse+menu_mc._x)/4;
pointer_mc._x += (_xmouse-pointer_mc._x)/6;
}
}
i know, i should manage to do this myself, but i don't seem to get it just right. as always, i'm grateful for help... :)