This is the most annoying point I have reached with AS3 yet. AS3 does not have an onReleaseOutside event, something I really needed for a menu to hide if the user clicked away from it. One implementation that I did find here involves a deeper understanding of the event bubbling mechanism. My own implementation is simpler and I just listen to a global application mouse click and see if my menu is down or not. However i do imagine lack of this event would make many developers go nuts. What sucks even more is that event isnt even available on the Flex framework. Maybe something we can ask for in 2.1 ?
Software Engineer at Comcast Innovation Labs, Creative Technologist, Open Source enthusiast, amateur illustrator, manager Philly Android Alliance User Group. The content on this blog do not reflect the views of my employer.
Pingback: lessrain blog » Blog Archive » AS3 onReleaseOutside
Pingback: lessrain blog » Blog Archive » AS3 Button Engine revisited (onReleaseOutside)