Zee*_*ang 2 apache-flex flex3 flex4 halo flex-spark
如果我在Flex3中有一个按钮
<mx:Button label="Testing" cornerradius='5'/>
Run Code Online (Sandbox Code Playgroud)
我想将其更改为Flex4
<s:Button label="Testing" styleName="buttonStyle"/>
<fx:Style>
.buttonStyle{
corner-radius:5;
font-weight:bold;
}
</fx:Style>
Run Code Online (Sandbox Code Playgroud)
我需要做什么才能制作Flex 4按钮,看起来与Flex 3按钮完全相同?
我现在能看到的东西是1.鼠标悬停按钮渐变是非常不同的.2. Flex4按钮的边框与Flex3不同.
我如何解决这两个问题,还有更多的差异吗?
如果您使用光环主题会发生什么?
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f85.html
http://blog.flexexamples.com/2009/07/14/using-the-halo-theme-in-flex-4/
基本上,设置此编译器参数:
-theme=${flexlib}/themes/Halo/halo.swc
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
358 次 |
| 最近记录: |