Hi Toby,

For drawing the error border, flex uses the Focus Manager.  If you 
use a focusSkin, it lloks like it over-rides the focus rectangle 
drawn with the errorColor.  Try taking that skin out, to see if it 
comes back.  Don't know about the comboBox.  Have you verified that 
the validation failure is actually setting the errorString?  You can 
try this; to find out if it's a skin or logic problem: 

<mx:ComboBox errorString="Test"/>

-TH

--- In [email protected], Toby Tremayne <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> 
>       I've googled but every time I find someone with the same 
problem the  
> questions seem to go unanswered...
> 
>       I have skins applied to a flex app and I'm having an issue 
where for  
> most elements the red border doesn't show up when validation 
fails.   
> For example, I have this in my css file:
> 
> TextInput
> {
>       borderSkin: Embed(source="TextInput.swf",  
> symbol="TextInput_borderSkin");
>       focusSkin: Embed(source="TextInput.swf", 
symbol="TextInput_focusSkin");
> }
> ComboBox
> {
>       disabledSkin: Embed(source="ComboBox.swf",  
> symbol="ComboBox_disabledSkin");
>       downSkin: Embed(source="ComboBox.swf", 
symbol="ComboBox_downSkin");
>       editableDisabledSkin: Embed(source="ComboBox.swf",  
> symbol="ComboBox_editableDisabledSkin");
>       editableDownSkin: Embed(source="ComboBox.swf",  
> symbol="ComboBox_editableDownSkin");
>       editableOverSkin: Embed(source="ComboBox.swf",  
> symbol="ComboBox_editableOverSkin");
>       editableUpSkin: Embed(source="ComboBox.swf",  
> symbol="ComboBox_editableUpSkin");
>       overSkin: Embed(source="ComboBox.swf", 
symbol="ComboBox_overSkin");
>       upSkin: Embed(source="ComboBox.swf", 
symbol="ComboBox_upSkin");
> }
> 
> And neither combobox nor textinput show the red validation border 
when  
> validation fails.  What am I missing?  Is there a way to specify 
an  
> error border skin or something?  Or should there be some way in 
the  
> skin file to add an error border?
> 
> cheers,
> Toby
> -----------------------------------
> 
> Life is poetry, write it in your own words
> 
> -----------------------------------
> 
> Toby Tremayne
> CEO
> Code Poet and Zen Master of the Heavy Sleep
> Lyricist Software
> 0416 048 090
> ICQ: 13107913
>


Reply via email to