Flash As3 Event.MOUSE_LEAVE Not Firing.
March 8th, 2009
Really quick post this time. Wanted to share some recent found knowledge that i wish i had known twenty minutes prior to testing functionality in an RIA earlier on tonight.
1 | stage.addEventListener(Event.MOUSE_LEAVE, exitHandler); |
This will not work in the Flash IDE! The embedded player just never fires the event.
The only work around i could find is to publish the swf and view it in a browser.
Comment (1)
One Response to “Flash As3 Event.MOUSE_LEAVE Not Firing.”

These are my findings on the subject…
+ outputting from the IDE the Event.MOUSE_LEAVE event just doesn’t fire at all
+ on a Mac, flash player 10 with HTML wrapper:
+ Chrome: event doesn’t fire
+ Safari: works
+ Firefox: works