Flex Strangeness - Part One: Setting openDuration to 0 on Menu will break Alert.show()
After getting some complaints that the tween effect when displaying a menu in Flex looked ‘flex-default-n00bish’ I went on a quest to remove it.
I found out that I could set the duration of the tween to zero by doing a menu.setStyle("openDuration", 0) - thus removing the effect. That worked fine, but later I noticed that an Alert in my application didn’t show anymore. It turned out that it was the style change on the menu that caused this.
What happens is that the whole application is blurred - but no modal dialog is shown. So, the whole application is freezed. This is how it looks on my machine:
Check it out for yourself here (source view is enabled btw). Just click the menu button, and then select any menu item.
