All Spark containers can take as children visual components
that implement the IVisualElement interface. All Spark and MX components
implement the IVisualElement interface and can therefore be used
as container children.
The following example uses the Spark SkinnableContainer to hold
Spark Button components:
The Spark Group, SkinnableContainer, and subclasses can take
as children any subclass of the GraphicElement class. This lets
you add graphical elements as children of the container. The following
example shows a SkinnableContainer with a Line component between
two Button components:
The DataGroup and SkinnableDataContainer classes are designed
primarily to display data items as children. The following example
shows a SkinnableDataContainer displaying an Array of Strings as
children: