问题描述
我有一个Flex3 TextInput控件,黑色背景上有白色文字。我想改变控件中突出显示文本的样式,在白色背景(或类似的东西)上使用黑色文本。我很乐意使用Flex风格来做这个,但是我却空手而归。任何想法?我前段时间追赶了这一点,走到了一个死胡同。我发现这是Flash播放器中硬编码的限制。如果有人能证明我错了,我会喜欢的,但我相信这是事实。正如其他海报所指出的那样,新的Spark组件不再是问题。
I have a Flex3 TextInput control, with white text on a black background. I would like to change the style of highlighted text within the control to use black text on a white background (or something similar). I would love to do this using Flex styles, however I'm comming up empty handed. Any ideas?
I've chased this as well some time ago and came to a dead end. What I found is this is a limitation hardcoded in the Flash player. I'd love it if someone could prove me wrong, but I'm confident this is the case. As the other poster noted, this is no longer an issue with the new Spark components.
这篇关于更改TextInput控件的选定文本的高亮颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!