Hi all,

I suppose my problem is pretty basic but after searching for some time I can't find a solution. In my application I load 1 data file in the main mxml. After it loads some processing is done on it and the data is stored in an ArrayCollection. This collection holds data for three years. I want to visualise this year data by letting users click on a button labelled with that year. I call an eventhandler in the main mxml file that updates a variable named currentYear and passes this value on to a variable called year in an ItemRenderer which should then display the data from this specific year.

I notice that when I change currentYear by clicking on the button in the mxml file nothing happens in the itemRenderer. My question is how do I notify the ItemRenderer of the click event in the main mxml?

Thanks in advance for your help.