Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. chad27295

    making onDrag lock the mouse in place

    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...
  2. chad27295

    making onDrag lock the mouse in place

    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

Part and Inventory Search

Back
Top