flex 跳转页面 20
<mx:ViewStackid="storeViews"width="100%"height="550"creationPolicy="all"><shouyeid="h...
<mx:ViewStack id="storeViews" width="100%" height="550" creationPolicy="all">
<shouye id="homeView" label="首 页" showEffect="WipeDown" hideEffect="WipeUp" />
<leixing id="pView" label="模板类型" showEffect="WipeDown" hideEffect="WipeUp" />
<make id="supportView" label="立即制作" showEffect="WipeDown" hideEffect="WipeUp" />
</mx:ViewStack>
这是网上的例子,我想知道 shouye id="homeView" 这里的id 怎么知道我是哪个mxml页面。或者谁有关于ViewStack的例子,谢谢! 展开
<shouye id="homeView" label="首 页" showEffect="WipeDown" hideEffect="WipeUp" />
<leixing id="pView" label="模板类型" showEffect="WipeDown" hideEffect="WipeUp" />
<make id="supportView" label="立即制作" showEffect="WipeDown" hideEffect="WipeUp" />
</mx:ViewStack>
这是网上的例子,我想知道 shouye id="homeView" 这里的id 怎么知道我是哪个mxml页面。或者谁有关于ViewStack的例子,谢谢! 展开
1个回答
展开全部
<mx:ViewStack id="myViewStack" width="100%" height="100%" selectedIndex="{currentView}" creationPolicy="all" >
<user:mainMap id="map" />
<user:peopleList id="list"/>
<user:amountSum id="amount"/>
<user:attribSum id="attrib"/>
</mx:ViewStack>
<user:mainMap id="map" />
<user:peopleList id="list"/>
<user:amountSum id="amount"/>
<user:attribSum id="attrib"/>
</mx:ViewStack>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询