# \[AS3\] Mouse event question

**URL:** <https://forum.kirupa.com/t/as3-mouse-event-question/214740>\
**Category:** flash\
**Created:** [January 31, 2007, 5:04pm UTC](https://forum.kirupa.com/t/as3-mouse-event-question/214740 "2007-01-31T17:04:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vrvy](https://avatars.discourse-cdn.com/v4/letter/v/f08c70/32.png) [@Vrvy](https://forum.kirupa.com/u/Vrvy)\
**Post date:** [January 31, 2007, 5:04pm UTC](https://forum.kirupa.com/t/as3-mouse-event-question/214740/1 "2007-01-31T17:04:04Z")

</div>

Hi

Heres my situation:

btn (Sprite)  
|  
—\> text (TextField)  
|  
—\> back (Sprite)

I added MouseEvent.MOUSE\_OVER event listener to the ‘back’ sprite, but it doesn’t get called, because the ‘text’ element is in front of it.  
I want to keep the event firing only when mouse is over the ‘back’, so I can’t add eventlistener to the ‘btn’.

I could put some transparenet duplicate of ‘back’ in front of the ‘text’ and add listener there, but I believe there should be a more elegant solution.

Maybe there is some way to exclude an element from the whole capture/bubble event procedure?

tnx
