# MOUSE\_LEAVE event

**URL:** https://forum.kirupa.com/t/mouse-leave-event/278399
**Category:** flash
**Created:** [December 29, 2008, 1:27pm UTC](https://forum.kirupa.com/t/mouse-leave-event/278399 "2008-12-29T13:27:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![OML](https://avatars.discourse-cdn.com/v4/letter/o/5e9695/32.png) [@OML](https://forum.kirupa.com/u/OML)
#### Post date: [December 29, 2008, 1:27pm UTC](https://forum.kirupa.com/t/mouse-leave-event/278399/1 "2008-12-29T13:27:17Z")

</div>

Hello,  
I have an application that I place a sprite containing a bitmap, on the whole stage. On that I place a smaller Sprite that covers a certain area. I would like to drag-drop the small sprite. There is a problem when the MOUSE\_UP (of the drag-drop) occurs out of the stage’s bounds. So I am trying to catch the MOUSE\_LEAVE event. For some unknown reason, I manage catching this event only when I put the listener on the stage.  
I wanted to place the listener on the Sprite object that contains the bitmap…  
Is it possible to catch the MOUSE\_LEAVE event from a certain class?

Thanks,  
OML
