A few folks have been asking for the source code of the WheelLayout. I created it as a proof-of-concept that our Spark layout APIs are sufficient for creation of 3D layouts. And just to showcase it in action, I decided to grab quickly the Flex3 Halo FlickrRIA, port it to Flex 4, and mash it up with the WheelLayout.
Just a quick note that Hans Muller has started a seriese of articles regarding Flex on his blog. His spiffy article here has some very good info about the Spark Viewports and Scrolling 🙂
Also you can check out how little I had to do to implement scrolling support in a custom layout here.
In part one here, the FlowLayout had really basic functionality. I decided to demonstrate how to add layout properties to the custom Spark layouts and how to enable scrolling.
I’ve been working on the Flex SDK team for more than a year now, primarily playing with the Spark layouts. One of the new Spark features is the “assignable layouts”. The stock layouts have been separated into their own classes and the containers can be assigned different layouts at run-time. This modularization allows anyone to create their own cool custom layouts and use them with any of the Spark containers.