View Full Version : tree component / transparent background / mouse events

02-24-2005, 07:33 PM

Does anyone have any input on this? I am trying to use the Tree Component with a transparent background and when I use this :

_global.styles.ScrollSelectList.setStyle("backgroundColor", "transparent");

I lose my mouse event handler although I can navigate the menu with my arrow keys.

This is from Macromedia :

"When creating a new class-level style declaration, you will lose all default values provided by the ScrollSelectList declaration. This includes backgroundColor, which is required for supporting mouse events. To create a class-level style declaration and preserve defaults, use a for..in loop to copy the old settings to the new declaration."


Any help here would be vastly appreciated as I have searched for days and I can not find anything on it.

03-30-2005, 07:02 AM