This will work.
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;
};
-Andy
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tyson Tune
Sent: Friday, July 28, 2006 9:59 PM
To: [email protected]
Subject: [Flashcoders] skinning the DataGrid component
I'm trying to skin the DataGrid component in Flash 8. All I really
want to do is turn the background of the grid transparent. I've been
able to skin other components by passing an object to the component
as I create it. However, I'm having some trouble with DataGrid. Has
anyone had any success with this?
_______________________________________________
[email protected]
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
_______________________________________________
[email protected]
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