您的位置:首页 > 产品设计 > UI/UE

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

2011-11-16 12:32 417 查看
例:

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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: