I wanted to try Flex 4 with a “real life” project so I wrote this lit­tle thing. Rough draft.

FileWatch

The app will allow you to mon­i­tor files changes: select a text file and you’ll be prompted when it’s updated. Basic. By the way, did I say “rough draft” before?

Every­thing in it is Open­Source, from the Illus­tra­tor files to the MXML and CSS stuff, so play with it! For those who only want the .air, here it is.

Now, why is it cool?

  • Build with the brand new Flex 4 (Gumbo) framework
  • Uses a home-brewed Icon­But­ton class, because Gumbo doesn’t pro­vide any
  • Uses the new Spark cus­tom skins logic (on But­ton, Scroll­Bar and more…)
  • Uses the new states’ logic and transitions
  • Based on as3corelib’s File­Mon­i­tor class
  • Shows you how to build a multi-instance AIR app
  • Con­tains Illustrator/Photoshop UI files

And why is it not that cool?

  • Prob­a­bly still buggy, wait for updates!
  • Flex 4 is not done yet, so the code might break at any time
  • No icons yet
  • No or very few comments
  • Pretty use­less app!

If you’re try­ing to learn Flex/Flex 4 or won­der­ing what’s new in it and how to use it you should defin­i­tively give it a go…

Have ques­tions? Drop’em!