Aug 12
接下来的例子演示了Flex中利用color, disabledColor, textRollOverColor和textSelectedColor样式,设置有效状态和无效状态下按钮颜色。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):
Continue reading »
written by Minidxer
| tags: Button, Color, disabledColor, textRollOverColor, textSelectedColor
Jul 21
接下来的例子演示了Flex中如何将颜色的值转化为字符串,根据RGB计算出各个值以及格式化颜色值。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):
Continue reading »
written by Minidxer
| tags: Color, ColorPicker, Hex, RGB
Apr 27
接下来的例子演示了Flex中如何通过设定TextArea控件的color和disabledColor样式,设定文本在有效,无效状态下的颜色。
让我们先来看一下Demo(可以右键View Source或点击这里察看源代码):
Continue reading »
written by Minidxer
| tags: Color, disabledColor, enabled, Flex, StringUtil, TextArea, trim