RE: [Flashcoders] removing background from list component

2006-07-21 Thread Andy Stone
Actually, this is better...

This will only set the backgroundColor, the previous function would set the
rollover states as well. -Andy

var alpha = 20;
var color = 0xFF;
//
_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;
};

-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 = 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


___
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-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


Re: RE: [Flashcoders] removing background from list component

2006-07-19 Thread Rich Rodecker

yeah, like i was saying, that removes the background, but also removes
any mouse interactivity.



On 7/19/06, Andy Stone <[EMAIL PROTECTED]> 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


RE: [Flashcoders] removing background from list component

2006-07-19 Thread Andy Stone

_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