flash builder中SKINCLASS绑定自定义组件属性方法

例:
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绑定自定义组件属性方法)