[flexcoders] Re: Changing the TextInput themeColor on Change event

2008-11-28 Thread what3v3r82
Thanks a lot! That's it. just called currentFormItem.focusManager.getFocus().drawFocus(true); after setting the style and it works. I had tried with validateDisplayList() and all but to no effect. Thanks again

Re: [flexcoders] Re: Changing the TextInput themeColor on Change event

2008-11-28 Thread Haykel BEN JEMIA
I investigated this a bit and I found an answer to your question: the themeColor is actually being set, but it's only visible when the focus on the control is redrawn, i.e. when the control looses and regains focus again. A solution would be to force the control to redraw the focus when you change

[flexcoders] Re: Changing the TextInput themeColor on Change event

2008-11-28 Thread what3v3r82
errorColor only works when errorString is defined, and if the errorString is defined I get a tooltip that I don't want. The Glow could be a solution ... I don't know why I have to do a workaround. Why doesn't the textinput.setStyle("themeColor", "0xFF") work? thanks --- In flexcoders@yahoogr

Re: [flexcoders] Re: Changing the TextInput themeColor on Change event

2008-11-27 Thread Fotis Chatzinikos
A possibly better solution via a glow filter: On Fri, Nov 28, 2008 at 12:44 AM, Fotis Chatzinikos < [EMAIL PROTECTED]> wrote: > Hi, > > did you try errorColor? Have not used it but its there... > > As for the toolt

Re: [flexcoders] Re: Changing the TextInput themeColor on Change event

2008-11-27 Thread Fotis Chatzinikos
Hi, did you try errorColor? Have not used it but its there... As for the tooltip you can try errorString " " (a space character) On Thu, Nov 27, 2008 at 3:44 PM, what3v3r82 <[EMAIL PROTECTED]>wrote: > yes, but the tricky part is that I don't want to have the tooltips > appear. I have my own c

[flexcoders] Re: Changing the TextInput themeColor on Change event

2008-11-27 Thread what3v3r82
yes, but the tricky part is that I don't want to have the tooltips appear. I have my own custom tooltips that work in a different way.