当前位置: 代码迷 >> Web前端 >> ApplicationControlBar示范
  详细解决方案

ApplicationControlBar示范

热度:128   发布时间:2012-11-06 14:07:00.0
ApplicationControlBar示例
<?xml version="1.0" encoding="utf-8"?>
<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">
	<!--定义应用控制栏,并使用靠岸模式,使控制栏始终在应用的顶端 -->
	<mx:ApplicationControlBar id="dockedBar" 
							  dock="true" fillAlphas="[0.52, 1.0]">
		<!--在控制栏内定义组件-->
		<mx:LinkBar borderStyle="solid">
			<mx:dataProvider>
				<fx:String>国内新闻</fx:String>
				<fx:String>国际新闻</fx:String>
			</mx:dataProvider>  
		</mx:LinkBar>
		<mx:Spacer width="100%"/>
		<mx:TextInput id="myTI"/>
		<mx:Button label="搜索"/>
	</mx:ApplicationControlBar>
</s:Application>

?
  相关解决方案