PDA

View Full Version : Tree component with transparent background


compuboy1010
07-12-2005, 04:08 PM
Hi board,

could anybody help me? I have tried everything and am slowly going cuckoo.
I want to the tree component to be totally transparent except for the nodes.

Nothing works. Tried all combinations. Anybody has an idea if this is possible at all?


stop();
xml_conn.trigger();
// customize tree styles
this.tree.setStyle("backgroundColor", "transparent");
this.tree.setStyle("borderStyle", "none");
this.tree.setStyle("color", 0x000000);
this.tree.setStyle("depthColors", [0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff]);
this.tree.depthChild0._alpha = 0;
this.tree.setStyle("embedFonts", false);
this.tree.setStyle("fontFamily", "Verdana");
this.tree.setStyle("fontSize", 10);
this.tree.setStyle("fontWeight", "normal");
this.tree.setStyle("indentation", 5);
this.tree.setStyle("rollOverColor", "transparent");
this.tree.setStyle("scrollSelectedList", "transparent");
this.tree.setStyle("selectionColor", 0xffffff);
this.tree.setStyle("selectionDuration", 0);
this.tree.setStyle("textIndent", 0);
this.tree.setStyle("textRollOverColor", "transparent");
this.tree.setStyle("textSelectedColor", "transparent");
this.tree.setStyle("textRollOverColor", "transparent");
this.tree.vScrollPolicy = 'auto';
_global.styles.ScrollSelectList.setStyle("backgroundColor", "none");

compuboy1010
07-14-2005, 12:00 PM
Searched the entire net. Nobody seems to have tried this. Strange.

Is flash really industry standard? ;)