Here is some code I just wrote and seems to work ok. The mouse stays over the slider. It seems there is just too much work to turn off the other axis with startDrag. Let me know if this is what you are looking for.
onClipEvent(mouseDown){
if (this.hitTest(_root._xmouse,_root._ymouse))//test to...
If you happen to be using startDrag you can use true to lock the mouse onto the object.
startDrag(yourtargetobject,true);
true will lock the mouse in place to that object.
If you are still having problems post your code you are using for the drag and I will see if I have any other ideas.
-Chad
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.