Actually, this is better... This will only set the backgroundColor, the previous function would set the rollover states as well.
var alpha = 20; var color = 0xFFFFFF; // _global.styles.ScrollSelectList.backgroundColor = null; mx.controls.listclasses.SelectableRow.prototype.drawRowFill = function(mc:MovieClip, newClr:Number):Void { mc.clear(); if (newClr == null) { mc.beginFill(color, alpha); } else { mc.beginFill(newClr); } mc.drawRect(1, 0, this.__width, this.__height); mc.endFill(); mc._width = this.__width; mc._height = this.__height; }; Sorry if this message was posted twice I think it was returned Friday. -Andy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Stone Sent: Friday, July 21, 2006 3:41 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] removing background from list component The drawRowFill function doesn't have a _alpha parameter. I hope this will solve your problem, if haven't figured it out yet. -Andy var alpha = 0; var color = 0xffffff; // _global.styles.ScrollSelectList.backgroundColor = null; mx.controls.listclasses.SelectableRow.prototype.drawRowFill = function(mc:MovieClip, newClr:Number):Void { newClr = color; mc.clear(); mc.beginFill(newClr, alpha); mc.drawRect(1, 0, this.__width, this.__height); mc.endFill(); mc._width = this.__width; mc._height = this.__height; }; -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Rodecker Sent: Wednesday, July 19, 2006 3:51 PM To: Flashcoders mailing list Subject: [Flashcoders] removing background from list component ok, ive searched everywhere for this, and can't find a solution that works. I jsut want to hide the background of a list component. making it semi-transparent would be even better, but at this point take whatever. i've tried: _global.styles.ScrollSelectList.backgroundColor = undefined; _global.styles.ScrollSelectList.setStyle("backgroundColor", "transparent"); these remove the background, but also disable interactivity. playlist_lb.border_mc.visible = false; i read that this should work, but dont get any results. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com