RE: [Flashcoders] removing background from list component

2006-07-21 Thread Andy Stone

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 = 0xff;
//
_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


Re: [Flashcoders] removing background from list component

2006-07-19 Thread Joseph Balderson
The visibility property takes a _ in front, could be why that's not 
working. Try this:


playlist_lb.border_mc._visible = false;


- Joeflash

Andy Stone wrote:

_global.styles.ScrollSelectList.backgroundColor = null;

I think this will work. -Andy



-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