
请教Flex的checkbox的对勾能自定义样式么
1个回答
推荐于2016-03-15 · 知道合伙人数码行家

知道合伙人数码行家
采纳数:117533
获赞数:517216
长期从事计算机组装,维护,网络组建及管理。对计算机硬件、操作系统安装、典型网络设备具有详细认知。
向TA提问 私信TA
关注

展开全部
把他相对应的皮肤代码里面的 :
<!-- checkmark -->
<!--- The checkmark in the box for this skin. To create a custom check mark, create a custom skin class. -->
<sath left="2" top="0" includeIn="selectedStates" id="check" itemCreationPolicy="immediate"
data="M 9.2 0.1 L 4.05 6.55 L 3.15 5.0 L 0.05 5.0 L 4.6 9.7 L 12.05 0.1 L 9.2 0.1">
<s:fill>
<!---
@private
The solid color fill for the CheckBox's checkmark. The default alpha is .9, and the default fill color is 0x000000.
-->
<s:SolidColor id="checkMarkFill" color="0" alpha="0.8" />
</s:fill>
</sath>
这一段换成你要的图片组件 并且申明 includeIn="selectedStates
<!-- checkmark -->
<!--- The checkmark in the box for this skin. To create a custom check mark, create a custom skin class. -->
<sath left="2" top="0" includeIn="selectedStates" id="check" itemCreationPolicy="immediate"
data="M 9.2 0.1 L 4.05 6.55 L 3.15 5.0 L 0.05 5.0 L 4.6 9.7 L 12.05 0.1 L 9.2 0.1">
<s:fill>
<!---
@private
The solid color fill for the CheckBox's checkmark. The default alpha is .9, and the default fill color is 0x000000.
-->
<s:SolidColor id="checkMarkFill" color="0" alpha="0.8" />
</s:fill>
</sath>
这一段换成你要的图片组件 并且申明 includeIn="selectedStates
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询