If those nested List components consider the "mySitesList" to be an ancestor in their style chain then it will apply because of the use of a descendant selector. You could prove this by recursively calling .styleParent from the nested List instances to find your "mySitesList" List.
Pete -----Original Message----- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Ariel J Sent: Tuesday, November 24, 2009 1:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex 4 and descendant CSS selectors i have a css stylesheet applied to my component like this: #mySitesList #scroller #verticalScrollBar { skinClass: ClassReference("com.safepage.view.mysitespanel.scrollbar.VScrollBarSkin"); } in my component i have a list whose id is "mySitesList". the item renderers used in "mySitesList" list also contain List components. The secondary lists are being affected by the style above by having their scrollbars changed. Is that expected? ------------------------------------ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links