Greetings,
I am trying to have access to the List which renderers the item from
an item renderer.

What I want basically is to be able to determine if an item is
'selected' from an item renderer.

So I have overriden the set data prop in order to do this:

override public function set data(value:Object):void
{
    super.data = value;                         
    //Here I'd like to access the list to do :
    if (list.isItemSelected(value) )
        currentState = "Selected";
    else
        currentState = "";
}

thanx !


Reply via email to