Disabling a list item onclick
I have a List() component populated by a data provider. The list has a custom style set to an external AS class that extends CellRenderer. What I want to do is when a list item is clicked, I want to gray out that item. I have the styles for graying it out, I just need to set the style for the clicked list item. I asked this question once before and got an answer in this thread:
http://board.flashkit.com/board/show...hreadid=745726
The problem is that solution doesn't handle onclicks, just static lists. So how do I capture the onclick and set the styles for the list item so that it's gray when you click on it?