It's a bit of a hack but it works....

-Andy Stone 

//
var backAlpha = 10;
var backColor = 0xFFFFFF;
//
_global.styles.ScrollSelectList.backgroundColor = undefined;
//
mx.controls.listclasses.SelectableRow.prototype.drawRowFill =
function(mc:MovieClip, newClr:Number):Void  {
        mc.clear();
        if (newClr == undefined) {
                mc.beginFill(backColor,  backAlpha);
        } else {
                mc.beginFill(newClr);
        }
        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 Rob Coenen
Sent: Tuesday, December 19, 2006 9:25 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Transparent list component

Hello gang,

what is the current status on components-with-transparent-backgrounds?
I did search the archives but and it seems people have been working on
all sorts of patches and solutions, but is there a real definitive
solution?

Never thought that putting a background image in a list view component
would be hard... :-)


_______________________________________________
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

Reply via email to