例:
1、自定义LBUTTON组件,有属性ycyy
2、自定义LBUTTONSKINCLASS外观,继承:
[HostComponent("LBUTTON")]
3、绑定如:
<s:Label id="lab1" x="25" y="20" fontSize="15" fontWeight="bold" text="{hostComponent.ycyy}" focusEnabled="false" >
<s:filters>
<s:DropShadowFilter color="0xD6D6D6" angle="90" distance="1" blurX="1" blurY="1" />
</s:filters>
</s:Label>
flash builder中SKINCLASS绑定自定义组件属性方法
最新推荐文章于 2014-07-12 12:13:00 发布
本文探讨了如何在前端开发中自定义LBUTTON组件及其外观,通过实例展示了如何利用组件属性和样式来增强用户体验。
367

被折叠的 条评论
为什么被折叠?



