I have an itemRenderer for a list where I'm just displaying items and their details respectively. I want to keep the details invisible and have a button,Show Details, in my main mxml file which when clicked would make the details visible.

So, my problem is in the clickHandler how can I access the details property within the itemRenderer from the main mxml?

Thanks in advance for your help