<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
verticalAlign="middle"
backgroundColor="white"> <mx:Style>
.allButtons2 {
/* Creates a gradient from red/orange when button is in the
"out" state. */
fillColors: red, haloOrange;
} .allButtons4 {
/* Creates a gradient from red/orange when button is in the
"out" state. Creates a gradient from green/blue when
button is in the "over" state. */
fillColors: red, haloOrange, haloGreen, haloBlue;
} .allButtonsSolid {
fillColors: red, red;
} .allButtonsSolidOpaque {
fillAlphas: 1.0, 1.0;
fillColors: red, red;
}
</mx:Style> <mx:ViewStack id="viewStack"
visible="false"
includeInLayout="false">
<mx:VBox label="One">
<mx:Label text="One" />
</mx:VBox>
<mx:VBox label="Two">
<mx:Label text="Two" />
</mx:VBox>
<mx:VBox label="Three">
<mx:Label text="Three" />
</mx:VBox>
</mx:ViewStack> <mx:Form>
<mx:FormItem label="2 fill colors defined:">
<mx:ButtonBar id="buttonBar2"
buttonStyleName="allButtons2"
dataProvider="{viewStack}" />
</mx:FormItem>
<mx:FormItem label="4 fill colors defined:">
<mx:ButtonBar id="buttonBar4"
buttonStyleName="allButtons4"
dataProvider="{viewStack}" />
</mx:FormItem>
<mx:FormItem label="solid fill:">
<mx:ButtonBar id="buttonBarSolid"
buttonStyleName="allButtonsSolid"
dataProvider="{viewStack}" />
</mx:FormItem>
<mx:FormItem label="solid opaque fill:">
<mx:ButtonBar id="buttonBarSolidOpaque"
buttonStyleName="allButtonsSolidOpaque"
dataProvider="{viewStack}" />
</mx:FormItem>
</mx:Form> </mx:Application>

最新文章

  1. Intellij IDEA调试功能使用总结
  2. 微冷的雨ASP.NET MVC之葵花宝典(MVC)
  3. SQL日期格式,转自will哥
  4. XML解析方案
  5. 怎样在myEclipse中使用debug调试程序?
  6. [Socket网络编程]由于套接字没有连接并且(当使用一个 sendto 调用发送数据报套接字时)没有提供地址,发送或接收数据的请求没有被接受。
  7. [LeetCode]题解(python):030-Substring with Concatenation of All Words
  8. C# GetValueList 获得字符串中开始和结束字符串中间得值列表
  9. 《Ext JS 4.2 实战》可以买了
  10. pip使用国内源
  11. tensorflow 1.9 ,bazel 0.15.0,源码编ERROR, Skipping, &#39;//tensorflow/tools/pip_package:build_pip_package&#39;,error loading packageCuda Configuration Error, Cannot find libdevice.10.bc under /usr/local/cuda-8.0
  12. eclipse 如何安装freemaker ftl 插件
  13. hihocoder [Offer收割]编程练习赛14
  14. django安装命令
  15. linux下压缩与打包工具&mdash;&mdash;gzip, bzip2 和 tar;
  16. Java标准I/O流编程一览笔录
  17. 并发工具类(三)控制并发线程的数量 Semphore
  18. 2018.10.01 NOIP模拟 购买书籍(贪心+STL)
  19. zabbix系列之七——安装后配置二Userparameters
  20. Oracle日常性能查看

热门文章

  1. java中abstract
  2. opsview
  3. MySQL中Group By,distinct使用注意事项
  4. Javax.mail.NoSuchProviderException: smtp
  5. Lombok - 消除冗长的 java 代码
  6. VBA 插入一行保留样式
  7. [Hibernate] - Criteria Select
  8. SIlverlight外包公司【技术展望】— Silverlight5.1.2最新版本发布,Silverlight 的更新从未停止。
  9. LintCode &quot;Count of Smaller Number before itself&quot;
  10. Maven 和 Ant 的区别?