Answered
Can I get "on blur" and "on focus" events for my window
Is it possible to get en event when the window running my flash gets focus and loses focus?
I would like to be able to start and stop the video automatically.
Thanks
Is it possible to get en event when the window running my flash gets focus and loses focus?
I would like to be able to start and stop the video automatically.
Thanks
Try to listen to Event.ACTIVATE and Event.DEACTIVATE. It works in the majority of cases.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/EventDispatcher.html#event:activate
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.