Reid Priedhorsky wrote: > Hi folks, > > I have a UIComponent subclass with Mouse-Over and Mouse-Out event handlers: > > this.addEventListener(MouseEvent.MOUSE_OUT, > UI.mouseoutover_wrap(this, this.on_mouseout), > false, 0, true); > this.addEventListener(MouseEvent.MOUSE_OVER, > UI.mouseoutover_wrap(this, this.on_mouseover), > false, 0, true); > > On Linux, both events types work. On Windows, only the mouse-out handler > works. > > Has anyone seen this before? Any suggestions? > > I'm on Flex 2.0.1 without any of the hotfixes. Will installing those help?
Following up my own post: I don't have any deeper understanding of why this happens, but further exploring reveals that the _first_ of those two events handlers works, but the second doesn't -- i.e., it's dependent on the order. Another trigger may be the fact that the handler function is a closure (UI.mouseoutover_wrap() returns a closure), since adding an additional listener with trace as the handler function works. A workaround is to not use weak references in the event listener. Hopefully this will prove useful to someone. Reid