On 5/2/07, Guillermo Villasana <[EMAIL PROTECTED]> wrote:
> I get the xml throught httpservice and I parse it from there.
> and assign color1 from my xml as well as color2.
> I use for example:
> StyleManager.getStyleDeclaration("Application").setStyle('color',color2);
>
> StyleManager.getStyleDeclaration("Application").setStyle('backgroundColor',color1);
>  
> StyleManager.getStyleDeclaration("Application").setStyle('themeColor',color1);
> and in some cases
> Id_MyPanel.setStyle('backgroundColor',color1);

What is that value of color1? If it's a string, it has to be either
the name of the color ("red") or the value as you'd specify in CSS
("#ff0000"). If it's a number, it has to be the exact value of the
color (0xff0000 or 16711680). Make sure you have the type right.

Reply via email to