Getting more colors for your Halo

Have you been working with Halo colors in the MX components? Then you probably know how to change your Halo themes using the following ActionScript:

myButton_btn.setStyle ("themeColor", "haloBlue");

However, did you know you could also add different colors instead of the three halos? You can try entering a hex value instead of the theme colors. You won't get the semi-transparent look, but despite the lack of transparency it still looks ok on some of the components.

myButton_btn.setStyle ("themeColor", 0xFF0000);

Posted by jen on September 24, 2003 at 10:28 PM
Comments

I set my DataGrid background and text colors then change the Theme color to complement. How do I address the color of the text on rollover?

testDataGrid.setStyle("backgroundColor", 0x660099);
testDataGrid.setStyle("color", 0xFFFFFF);
testDataGrid.setStyle("themeColor", "0xB030FE");

Posted by: Chuck at July 29, 2004 02:04 PM

There's a flash "issue" with button components loaded into other swfs.

When you press a button component it gets a focus box around the component. That "focus" box can be colored based on the theme like haloBlue.

Problem is the focus rect doesn't hide when you set _visible = false.

Does anyone know how to shut off the focus box? Or turn off themes?

Posted by: Danno at November 5, 2004 01:34 PM