Daily Archives: June 8, 2009

Adding a control bar to a custom Spark Application component in Flex 4

The following example shows how you can extend the default Spark Application container in Flex 4 and add an ApplicationControlBar by setting the skinClass style. The custom Spark Application skin also adds some default padding, support for horizontal and vertical scroll bars, sets the default layout to a VerticalLayout object, and adds some default padding.

Full code after the jump.

Continue reading