June 14, 2010
I thought that the functionality of ROLL_OUT was about the same as MOUSE_OUT. And in many aspects they are. But the big difference is how they handle children:MouseEvent.MOUSE_OUT will be raised if a child object recieves MOUSE_OVER.
MouseEvent.ROLL_OUT will only be raised if the clip that the event is attached to and all it's children looses MOUSE_OVER.
So, if you use MouseEvent.MOUSE_OUT the event will fire when focusing on a child object. Something that usually isn't what you want. If that's the case, change to MouseEvent.ROLL_OUT and you're all set to go! :)
Comments
comments powered by Disqus