# Stage focus problem

**URL:** https://forum.kirupa.com/t/stage-focus-problem/276073
**Category:** flash
**Created:** [November 22, 2008, 12:32am UTC](https://forum.kirupa.com/t/stage-focus-problem/276073 "2008-11-22T00:32:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Mr\_Kikkoman](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@Mr\_Kikkoman](https://forum.kirupa.com/u/Mr_Kikkoman)
#### Post date: [November 22, 2008, 12:32am UTC](https://forum.kirupa.com/t/stage-focus-problem/276073/1 "2008-11-22T00:32:25Z")

</div>

Does anyone have a working solution for listening when the stage is deactivated and activated?

Event.ACTIVATE & Event.DEACTIVATE is being used with EVENT.MOUSE\_LEAVE and MouseEvent.MOUSE\_MOVE to listen but it’s a little buggy. When I switch between Firefox tabs it works fine. However, when I have the Firefox window open and select another window, deactivating the Firefox window, then the DEACTIVE and MOUSE\_LEAVE don’t work.
