Henrik Andersson wrote:
Glen Pike wrote:
On 17/08/2010 17:59, Henrik Andersson wrote:
Glen Pike wrote:
Have a look at the Stage class Activate / Deactivate events.
They are global to all EventDispatchers.
>>
Yes, but you listen for the DEACTIVATE event dispatched by the stage to
signal it has lost focus...
You can do that. But any instance will do.
Yes, but in this instance, he wants to know when the Flash movie loses
focus - hence my point about listening to the events on the stage - a
button or other event dispatcher may lose focus at any time, but the
Flash movie may still have focus. I don't mean to be rude, but you are
splitting hairs where they don't need to be split to solve the problem.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders