• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

List Component Transparency?

Participant ,
Oct 08, 2015 Oct 08, 2015

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

TOPICS
ActionScript

Views

241

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Oct 08, 2015 Oct 08, 2015

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!

Votes

Translate

Translate
Participant ,
Oct 08, 2015 Oct 08, 2015

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 08, 2015 Oct 08, 2015

Copy link to clipboard

Copied

LATEST

yes this is the only way to edit the component objects as sometimes for some components you can use "component_mc.getChildAt()"

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines