flex Accordion 导航器容器3 flex 教程 flex培训 flex源码 flex实例

 <!--在Accordion 导航器容器中添加List 数组-->
<?xml version="1.0" encoding="utf-8"?>
<!--http://blog.sina.com.cn/s/blog_6dd3fe2e0100pbrx.html-->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
			   xmlns:s="library://ns.adobe.com/flex/spark" 
			   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
	<fx:Declarations>
		<!-- 将非可视元素(例如服务、值对象)放在此处 -->
	</fx:Declarations>
	<mx:Accordion width="400" height="300" id="myAccord">
		<mx:VBox label="Name and Address" width="100%" height="100%">
			<mx:List width="100%" height="100%">
				<fx:Array>
					<fx:Object label="BT"/>
					<fx:Object label="Chemical Brothers"/>
					<fx:Object label="Crystal Method"/>
					<fx:Object label="Paul Oakenfold"/>
				</fx:Array>
			</mx:List>
		</mx:VBox>
		<mx:VBox label="Country"/>
		<mx:VBox label="Rap / Hip Hop"/>
		<mx:VBox label="Rock"/>
		<mx:VBox label="Oldies"/>
	</mx:Accordion>

</s:Application>

你可能感兴趣的:(flex Accordion 导航器容器3 flex 教程 flex培训 flex源码 flex实例)