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>