Calling endEffectStarted() after adding new EffectEvent.EFFECT_END event listeners
Posted by Dennis on Jun 25, 2008 in AIR, Flex • No comments
Quick note on a Flex problem: when using Fade effects on background images in conjunction with a ToggleButtonBar it often happened that the event handler for the EffectEvent.EFFECT_END event was never called. This usually happened when the buttons were clicked in a rapid fashion. Adding a call to endEffectsStarted() just after attaching the event listener fixes this problem.



