Flex 2 Unit Converter

This has been on my list of things to do in Flex since it was released. I finally got around to knocking together this units converter (the first three tabs are the only ones that work at the moment). During the development I think I finally grasped (well, got a better grasp anyway ;-) Events in Flex 2. The way that classes communicate also became a little clearer to me during the building of this. The lists in each section are actionscript components that call a Singleton class to do the actual calculation.

Check it out here (right click the movie to view the source – which I originally forgot to enable in the movie!)

I'm interested in feedback from flexers as to how they'd go about creating an interface to something like this. I think tabs is a reasonable way to split up the different unit groups, but want to hear of some other ideas of how the components could be used to create a better UI. 

Here's a link to my original take on unit conversion in Flash. I made this in 2002 using Flash 5! How things have changed…

Be Sociable, Share!
Posted in Flex

2 comments on “Flex 2 Unit Converter
  1. Mike Nimer says:

    I’m not seeing the view source option, can you try to recompile it with “view source” option again or post the code too? thanks.

  2. Jason says:

    Oops, my bad – forgot to recompile the swf after enabling this option. It’s working now. Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Posts this month
August 2006
« Jul   Sep »