OS X Style Dialog Using Macromedia Flex
I recently found myself entranced with way OS X dialog boxes appear and disappear out of the top of the window to which they belong. Becoming fixed on the UI, as is often the case, I found myself compelled to see if I could duplicate the effect using Macromedia Flex. The basics didn’t turn out to be that hard.
I’ve made my initial pass available for review and expansion. There are a few shortcomings I’d like to address, but as the year draws to a close, so do the number of spare hours I have in a day (smile).
Update [Dec 3, 2004] : The original example SWF file was built using the Developer Edition of Flex and as such was going to timeout after 48 hours. I’ve replaced the actual application SWF with a demonstration SWF created using Captivate.
- Future improvements might be:
- Use the Text control instead of Label which limits me to one line of text
- Externalize the icon as a property, and make a small default set available
- Allow for button definition along the lines of the Alert control
- Remove focus from the main UI in favor of a default button on the dialog