Corey,

There are some potential workarounds which Ive seen, all using similar
techniques to the one found here -
http://labs.hellokeita.com/2008/03/13/textfield-selection-color/

It's not ideal by any means and won't work for all situations, but depending
on what you need, it may be of use.

Cheers
toby

On Sat, Jul 12, 2008 at 12:10 AM, Corey Bray <[EMAIL PROTECTED]> wrote:

>
>        Thanks Gordon...that will save me lots of time.
>
> Gordon Smith wrote:
> >
> >
> > Unfortunately, FP9 doesn't support setting the text selection color.
> >
> >
> >
> > Gordon Smith
> >
> > Adobe Flex SDK Team
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > *From:* [email protected]
> > [mailto:[EMAIL PROTECTED] *On Behalf Of *Corey Bray *Sent:*
> > Friday, July 11, 2008 2:37 PM *To:* [email protected]
> > *Subject:* [flexcoders] Flex Text Selection Problem...
> >
> >
> >
> > Hey,
> >
> > I'm new to the list and was hoping I could get a little help with a
> > problem in flex that is driving me nuts.
> >
> > Here's the problem - when you have a TextInput control whose
> > background color is black and whose text is white, how do you change
> > the color of the selected text so that it's distinguishable from text
> > that is not selected? I have tried changing every color-related
> > property I could find but was not able to change the color of the
> > selection.
> >
> > <?xml version="1.0" encoding="utf-8"?> <mx:Application
> > xmlns:mx="http://www.adobe.com/2006/mxml
> > <http://www.adobe.com/2006/mxml>" layout="horizontal"
> > backgroundColor="#000000"> <mx:Style> TextInput { color: #FFFFFF;
> > background-color: #000000; backgroundAlpha: 0.0; dropShadowEnabled:
> > false; borderThickness: 2; borderStyle: solid; font-size: 18; }
> > </mx:Style>
> >
> > <mx:TextInput text="Try and Select Me - where is the selection
> > highlighting?" color="#FFFFFF"/>
> >
> > </mx:Application>
> >
> > Corey...
> >
> >
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>

Reply via email to