Yoann on flex

July 5, 2007

Flex treeNavigator

Filed under: Flex, TreeNavigator — yoyoann @ 2:48 pm

I am currently building a website with a pretty complex navigation structure, and I stumbled on one of the Flex limitations : the absence of a tree component to browse on a viewstack. So I started writing something, thinking it would be plainly easy. However I quickly understood it would be way more difficult than I first thought, especially because my experience in dealing with dataBinding, e4x, and treeNavigation was almost null …

So I spent a good while trying to get an almost working version, that was really really ugly. I decided to rewrite all ..

I spent another while coding the whole stuff again, with genericity and resusability in mind, and I admit I am pretty proud of the result. It is still dirty and should be revamped a lot, and many things are not working yet, but it is already almost usable.

Demo View Source

Blog at WordPress.com.