
107ADOBE FLEX 3
Building and Deploying Adobe Flex 3 Applications
addToCreationQueue('redBox', 4);
addToCreationQueue('blueBox', 2);
addToCreationQueue('whiteBox', 1);
addToCreationQueue('greenBox', 3);
}
Combining containers with different creationPolicy settings
You can mix containers with different creationPolicy settings and change the order in which they are created
and their children are displayed. Flex creates outer containers before inner containers, regardless of their
creationIndex. This is because Flex does not create the children of a queued container until all containers at that
level are created.
Setting a container’s
creationPolicy ...