# Delete onMouseMove problem

**URL:** <https://forum.kirupa.com/t/delete-onmousemove-problem/251079>\
**Category:** Uncategorized\
**Created:** [February 5, 2008, 7:39am UTC](https://forum.kirupa.com/t/delete-onmousemove-problem/251079 "2008-02-05T07:39:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavanshinde](https://avatars.discourse-cdn.com/v4/letter/p/7ba0ec/32.png) [@pavanshinde](https://forum.kirupa.com/u/pavanshinde)\
**Post date:** [February 5, 2008, 7:39am UTC](https://forum.kirupa.com/t/delete-onmousemove-problem/251079/1 "2008-02-05T07:39:22Z")

</div>

Hi all,

I am working on a drawing application in as2. I m drawing on a movieclip called canvas\_mc.

My problem is when i draw a rectangle. And on OnMouseUp i delete the OnMouseMove event.

And then i check for the mouse hitTest with this rectangle. But it dont show me the hitTest when i MouseOver on the Rectangle because i have deleted the onMouseMove Event.

How can i overcome this problem. Please Help… this is very urgent for me.

Thanks  
Pavan
