This content has been marked as final. Show 6 replies
Bump for a second try... this really hasn't bothered anyone else enough to look into it yet?
Maybe I'm missing your question, but if you don't want the transition to show, don't use it, or change the duration to a very short duration, like 100.
Maybe I'm not explaing it clearly - transition is probably a bad term to use.
When you click on a MenuBar item, in most standard applications it just instantly shows the menu for the item you clicked. Using MenuBar/MenuItems in Flex, they over-used animations (in some peoples' minds :P ) and sort of animate the menu by expanding it downwards from the MenuBar. Is there a way to disable that animation and just make the menu show right away? I'm not explicitly tell it to use a 'transition' or anything, this is just the default behavior I want to override. This might be as simple as setting some attribute on the MenuItems or MenuBar, but I can't figure out what that attribute would be.
For those of us with a tolerance for only about .001523 seconds of response time from a computer, it's just slightly annoying watching little menus expand and so on when it could just show instantly.
Okay looking at the docs again I think I may have found the solution - I need to set a style attribute called openDuration to 0. What I was referring to as a "MenuItem" (<menuitem> xml tags) were actually class Menu. Still need to try this but I think I'm on the right track now..
Yep, all I needed was this:
Ah, see, I don't really like such effects either, so I don't often code them, so I didn't know the answer!
But don't assume your end users are geeks too.