Hai
plz can give some suggestions for Viewstack.
<mx:LinkBar dataProvider="{hostSubModuleDatas}"
id="hostLinkBar" styleName="linkbar"
direction="horizontal"
y="9" x="10" itemClick="changeView
(event)" selectedIndex="0" />
<mx:ViewStack id="HostSubModuleView" height="90%" y="35" x="10"
width="98%"
borderStyle="solid"
borderColor="black" change="chageIndex()"
creationPolicy="all">
<view:ListHostGroup label="HostGroup List"
id="hostgrouplistId" />
<view:NewHostGroup label="New HostGroup"
id="hostgroupcreationId" /
>
<view:ListHostConfig label="HostConfig List"
id="hostconfiglistId"/
>
<view:ListHost label="Host List" id="hostlistId" />
<view:CreateHost label="New Host" id="hostcreationId"
/>
<view:EditHostConfig label="EditHostConfig"
id="hostConfigEditId" /
>
</mx:ViewStack>
Above I mentioned creationpolicy ="all" so creating all
components,child containers and controls immediately
that viewstack contains 6 childrens.For example currently i want
to go 6th children.In that 6th children am calling the
init() method.This method is calling am entering into the 1st child .I
think bcz of creationpolicy am getting this problem.
I want to tackle this suitation which type of creation policy I want
to use.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---