Button {
upSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
overSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
downSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
disabledSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
selectedUpSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
selectedOverSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
selectedDownSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
selectedDisabledSkin:ClassReference('flexlib.skins.EnhancedButtonSkin')
corner-Radii: 6, 6, 6, 6
border-Colors: #B2DC32, #4b5f0c
over-Border-Colors: #B2DC32, #4b5f0c
selected-Border-Colors: #B2DC32, #4b5f0c
border-Thickness: 1
border-Alpha: 0.95
fill-Colors: #B2DC32, #4b5f0c
fill-Color-Ratios: 0, 255
over-Fill-Colors: #B2DC32, #4b5f0c
over-Fill-ColorRatios: 0, 128, 255
selected-Fill-Colors: #B2DC32, #4b5f0c
selected-Fill-Color-Ratios: 0, 255
color: black
text-Roll-Over-Color: #4b5f0c
}
Flex4 的Skin我也没找到很多好看的 大部分都是国外做好的 theme其实Flex4的Skin最大程度地自由化了 对外观的修改
你只需要单独建立一个Skin自己微调就可以了 ,都不复杂
自定义皮肤yourbuttonskin,皮肤里面加个bitmapimage控件,或者画个rect用图片填充<s:button
skinclass="yourbuttonskin"/>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)