I think they draw it manually. The short version is that they disable the TextField's selectability, they use their own mouse cursor/graphic, they detect which characters would be selected based on the coordinates returned by the mousedown/move/up events in conjunction with some methods of TextField. You would probably then use the Graphics class to draw the selection on a layer/sprite behind the text in conjunction with blendMode if you want extra effects but other methods might be possible.
- Dan Freiman On 10/1/07, m40.regs <[EMAIL PROTECTED]> wrote: > > Unfortunately, the Flash Player doesn't support setting the color of > selected text, or the color of the background of the selected text. You're > stuck with white on black. > > Then how it is done here: http://preview.getbuzzword.com/?s=true ? (try to > type something in the "your e-mail" field) > > I hope someone knows the answer. > > Thank you! > > > --- In [email protected], "Gordon Smith" <[EMAIL PROTECTED]> wrote: > > > > Unfortunately, the Flash Player doesn't support setting the color of > > selected text, or the color of the background of the selected text. > > You're stuck with white on black. > > > > - Gordon > > > > ________________________________ > > > > From: [email protected] [mailto:[EMAIL PROTECTED] On > > Behalf Of Larry Zhang > > Sent: Tuesday, September 11, 2007 8:37 PM > > To: [email protected] > > Subject: [flexcoders] how to change selection color in textinput? > > > > > > > > Hello all > > > > I want to change the selection color in textinput component in Flex. > > > > It seems the default color is black, and there is no such style in the > > TextInput style list. > > > > Can any one help me? > > > > Thanks > > > > ============================== > > > > Make Every Day Count > > > > Larry Zhang > > > > >

