I would like a box to move horizontally according to mouse position (see the kirupa source code below) but to stop when the curser is over the box (and then continue to move when the cursor leaves the box again).
The box contains some buttons, so it cant be converted.
Thanks a lot for your help!!
/Mathies
onClipEvent (load) {
_x = -50;
speed = 5;
}
onClipEvent (enterFrame) {
endX = _root._xmouse;
_x += (endX-_x)/speed;
}