FYI, I just succeeded in fixing this bug by modifying UIComponent code. 

To get it compiled into the SWF I added the Flex SDK 2/frameworks/source
folder to the build path. 

Dirk.

> -----Original Message-----
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann
> Sent: Wednesday, January 24, 2007 11:06 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Re: Setting UIComponent.errorString 
> creates a black border around the component
> 
> It still does not work as expected. I just debugged 
> UIComponent and it turns out that the bug is in the 
> setBorderColorForErrorString() method.
> The black border appeasr when the origBorderColor is NaN. So 
> the fix would be something like
> 
>   if (isNaN(origBorderColor))
>     origBorderColor = getStyle("borderColor");
> 
> I just wanted to fix the code on my machine and then 
> recompile the framework.swc but noticed that there's no 
> build_framework.xml Ant script any more in Flex 2.0.1
> 
> Dirk.
> 
> 

Reply via email to