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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with ScrollPane component 1

Status
Not open for further replies.

carmenMiranda

Programmer
May 22, 2003
47
GB
Hi - I'm using Flash 8 and have a problem with the built-in ScrollPane component. I want the ScrollPane to have no border colour and no theme colour and thus have added the following actionscript to the main timeline of the .swf:
Code:
//define ScrollPane parameters
contentPane.setStyle("borderStyle", "none");

//remove green border from scroll components
_global.style.themeColor = 0xFF0000;
This works fine, until the ScrollPane is given focus. At the point a user clicks on the scroll bar (or the scroll buttons), the green border that is the default ScrollPane theme becomes visible around the border of the ScrollPane.

Does anyone have any ideas why?

Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top