例:
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绑定自定义组件属性方法
最新推荐文章于 2015-05-07 11:23:41 发布