Mixing and matching containers in a view stack : ViewStack « Container « Flex






Mixing and matching containers in a view stack

        
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:ViewStack id="myViewStack" width="100%" height="100%">
        <mx:Canvas id="A" width="100%" height="100%" />
        <mx:HBox id="B" width="100%" height="100%" />
        <mx:VBox id="C" width="100%" height="100%" />
    </mx:ViewStack>

</mx:Application>

   
    
    
    
    
    
    
    
  








Related examples in the same category

1.ViewStack with three child containersViewStack with three child containers
2.Add solid border to ViewStackAdd solid border to ViewStack
3.Add Canvas to ViewStackAdd Canvas to ViewStack
4.Use LinkBar to control the ViewStackUse LinkBar to control the ViewStack
5.Panel inside ViewStackPanel inside ViewStack
6.LinkBar and ViewStackLinkBar and ViewStack
7.ViewStack is ususlly connected with LinkBarViewStack is ususlly connected with LinkBar
8.Control a ViewStack via a LinkBarControl a ViewStack via a LinkBar
9.Bind the Selected Index of a ViewStack to a VariableBind the Selected Index of a ViewStack to a Variable
10.Define the ViewStack and the three child containersDefine the ViewStack and the three child containers
11.Create a LinkBar control to navigate the ViewStack containerCreate a LinkBar control to navigate the ViewStack container
12.Create a VGroup container so the container for the buttons appears above the ViewStack containerCreate a VGroup container so the container for the buttons appears above the ViewStack container
13.Creating a view stack using a Canvas for each layer
14.Using a component as a container in a view stackUsing a component as a container in a view stack