Sunday, August 30, 2009

Flex lightweight dialogs?

I miss the JOptionPane classes that you have in Java. I'm working on my Adobe AIR game level editor and I wanted to pop up a quick and dirty dialog that prompts for the name of the new level. Flex's Alert dialog just returns a binary value: yes|no, OK|cancel. In Java, with a line of code you can prompt the user for a text input value and keep right on going. In Flex, you have to take a TitleWindow mxml component and customize it and wire up events to get the data back etc. Just feels like a lot of boilerplate.

No comments:

Post a Comment