strela.onMouseMove = function() { this._x = _root._xmouse; this._y = _root._ymouse; updateAfterEvent(); } function abnormal() { if(obj.hitTest(obekt)) obj.gotoAndStop(2); else obj.gotoAndStop(1); } setInterval(abnormal, 50, strela);