i have the following code:
var mouseListener:Object = new Object();
mouseListener.onMouseMove = function() {
//trace(“checkin pan”);
_root.mouse = _root._xmouse+", "+_root._ymouse;
if (_root._ymouse>50 && _root._ymouse<451) {
if (_root._xmouse<375) {
_global.panNavAcc = Math.round(((375-_root._xmouse)/100)*maxAcc);
} else if (_root._xmouse>375) {
_global.panNavAcc = Math.round(((375-_root._xmouse)/100)*maxAcc);
} else {
_global.panNavAcc = 0;
}
} else {
_global.panNavAcc = 0;
}
};
how can i use action script to make a movie simulate a mouse movement upon exiting, so that the pan can pick back up?