shizny
03-04-2008, 02:35 AM
Hi. I am creating a flex app and have multiple pages associated with different header menus. I wanted to break the page up into two viewstacks because of this, but I didn't know if you can do that. I tried it and it didn't give me any problems, but I just hadn't seen any examples out there and it made me worry I was doing something wrong.
Here is my code.
</mx:HBox>
<mx:ViewStack id="vwStack" width="100%" paddingBottom="10" paddingTop="10" resizeToContent="true" creationPolicy="all" height="100%">
<view:loginBox id="loginBox"/>
<view:enterPlayData id="enterPlayData"/>
<view:importNewGameData id="importNewGameData" />
<view:singleGameSelect id="singleGameSelect" />
</mx:ViewStack>
</mx:HBox>
Here is my code.
</mx:HBox>
<mx:ViewStack id="vwStack" width="100%" paddingBottom="10" paddingTop="10" resizeToContent="true" creationPolicy="all" height="100%">
<view:loginBox id="loginBox"/>
<view:enterPlayData id="enterPlayData"/>
<view:importNewGameData id="importNewGameData" />
<view:singleGameSelect id="singleGameSelect" />
</mx:ViewStack>
</mx:HBox>