There's a utility in the sdk to convert rgb string to uint.  For Flex4 it's 
mx.utils.HSBColor.

-TH

--- In [email protected], Greg Hess <flexeff...@...> wrote:
>
> Hi All,
> 
> I am trying to externalize our effect styles to css. However, when I
> read in the color values getStyle() they come in RGB format and
> GlowFilter needs Hex. I have found lots of posts of people writing
> rgbToHex conversion function but I find it strange that this is not
> available in the Flex SDK.
> 
> What is the best way to do such conversions.
> 
> Any help much appreciated,
> 
> Greg
>


Reply via email to