PDA

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


schloss
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."

http://livedocs.macromedia.com/flas...e=00002881.html

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

farafiro
03-30-2005, 07:02 AM
http://www.actionscript.org/forums/showthread.php3?t=35214&page=2&highlight=backgroundColor