Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

transparent scroll pane 2

Status
Not open for further replies.

infernoapbts

Programmer
Dec 13, 2002
20
US
I am trying to use the component "scroll pane" to scroll a mc but inside the scroll pane is white and I cannot seem to get it transparent. Ant help would be greatly appreciated.

INFERNOAPBTS
 
I'm not sure of what scroll pane you are talking about. Elaborate, maybe.
 
either set the background color to be the same as the movie background using
compname.setstyleproperty("backkground",0x000000);

or

Edit the FBoundingBox clip in the library, ie ..

component.registerSkinElement(boundingBox, "background");
boundingBox._alpha=5;
 
Looks like the dreaded MX...Maybe one day, I'll make the switch. ugh
 
Or more easily, 3 other ways:

//myColor = new Color(_level0.myscrollpane.boundingBox_mc);
//myColor.setRGB(0xFFFFFF);

_level0.myscrollpane.boundingBox_mc._visible = false;

//level0.myscrollpane.boundingBox_mc._alpha = 50;

Regards,

oldman3.gif
 
Thanks oldnewbie! You guys are great. got all kinds of ideas. Why didn't I think of that???!???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top