Copy link to clipboard
Copied
How do I make a list component's background transparent? I've already tried setStyle and contentBackgroundAlpha but none of them work.
Is there another way?
stage.addChild(specialList); //specialList is placed manually on the stage
var s:List = specialList; //so I can get code hinting
var al:Number = 0; //for the arg1 Object in setStyle
s.setStyle('contentBackgroundAlpha', al); //sets the style
I found another way.
By editing the object's skins I set it to the right background color.
However, if there is another way, I'd like to know about it!
Copy link to clipboard
Copied
I found another way.
By editing the object's skins I set it to the right background color.
However, if there is another way, I'd like to know about it!
Copy link to clipboard
Copied
yes this is the only way to edit the component objects as sometimes for some components you can use "component_mc.getChildAt()"