isItemSelected(...) always returns false because the list of ListBase(owner) doesn't have any selections :
selectedItems.length = 0 selectedIndex = -1 --- In [email protected], Adnan Doric <[EMAIL PROTECTED]> wrote: > > icepaco33 wrote: > > 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 ! > > > > > > > > > > Hello, > > Try ListBase(owner).isItemSelected(data) > > Cheers, > Adnan >

