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

2008-11-27 Thread Haykel BEN JEMIA
You could use the errorString property of UIComponent. When set to a non empty string, flex draws a red border (I think the color is also configurable) around the component and shows the string in a tooltip when the mouse is moved over it. You could use it like this: if(currentFormItemValid) {

[flexcoders] Changing the TextInput themeColor on Change event

2008-11-27 Thread what3v3r82
Hi, I want to change the themeColor of a TextInput, so each time a user types something the change event handler will validade the form and change the color of the theme according to the validation result. To sum it up I have something like this in my textinput change handler function: if(curren