The term containers generally refers to all the classes held in the
package of the Flex Framework. Containers extend the
adding layout management functionality, methods to control the creation of
children using creation policies, and automatic scrolling. The
implementations of containers are quite distinct, but all share the
ability to position children, lay out those children by using constraints or styles, and control scrolling and how those
children respond to scroll events.
Constraints are new to Flex 3. They enable developers to create
rules for positioning, in terms of both location and sizing, to which the
children of containers can be assigned. Constraints work only with
containers, such as the
container, that have absolute positioning, which has much the same meaning
as it does in CSS.
Tile containers provide automatic layout of
children and methods for controlling which children are included in the
You need to position multiple children vertically or horizontally and control the layout of those children.
VBox container, and set the
verticalGap for the
VBox, respectively, to set the distance
between the components.
Extending the common base class
VBox components lay out their children horizontally or vertically, respectively, and can hold an ...