复制代码 代码如下:
?xml version="1.0" encoding="utf-8"?>
s:SparkButtonSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:fb="http://ns.adobe.com/flashbuilder/2009"
minWidth="42" minHeight="30"
alpha.disabled="0.5">
fx:Metadata>
![CDATA[
/**
* @copy spark.skins.spark.ApplicationSkin#hostComponent
*/
[HostComponent("spark.components.Button")]
]]>
/fx:Metadata>
fx:Declarations>
/fx:Declarations>
!-- states -->
s:states>
s:State name="up" />
s:State name="over" />
s:State name="down" />
s:State name="disabled" />
/s:states>
s:Rect left="0" right="0" top="0" bottom="0">
s:fill>
s:BitmapFill source.up="@Embed('images/1_130927114244_1.png')" smooth="true" fillMode="scale"/>
/s:fill>
/s:Rect>
/s:SparkButtonSkin>
您可能感兴趣的文章:- C# SkinEngine控件 给窗体添加皮肤的方法
- JQuery UI皮肤定制
- flex自定义按钮皮肤示例附图
- ASP、PHP与javascript根据时段自动切换CSS皮肤的代码
- flex中使用css样式修改TextArea滚动条的皮肤代码
- jQuery切换网页皮肤并保存到Cookie示例代码
- JQuery给网页更换皮肤的方法
- python实现360皮肤按钮控件示例
- flex动态加载swf皮肤示例代码
- js仿百度切换皮肤功能(html+css)