background preloader

Layout

Facebook Twitter

Spark layouts with Flex 4. As with most other features of the new Spark architecture, the new layouts are in fact based on the already powerful MX layout system. Flex 3 developers will feel at home with the general execution flow, APIs, and layout logic. However, there are also a number of additions and changes that are driven by the Spark goal of more modular design. Common characteristics. FlowLayout in Flex 4 « Saturnboy. NOTE: See FlexLayouts for all your custom Flex 4 layout needs, and FlowLayout for the latest version.

FlowLayout in Flex 4 « Saturnboy

Another one of my favorite improvements that found its way into Flex 4 is the separation of layouts from containers. The fact that layouts can customized and simply plugged into any container is pretty sweet. It’s a real developer benefit because it makes me faster. Easy Flex » FlowLayout – a Spark Custom Layout Example. I’ve been working on the Flex SDK team for more than a year now, primarily playing with the Spark layouts.

Easy Flex » FlowLayout – a Spark Custom Layout Example

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. I want to show how easy it is to create a custom Spark layout.