BTW, updateDisplayList should get called Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui
From: [email protected] [mailto:[email protected]] On Behalf Of droponrcll Sent: Friday, November 13, 2009 9:44 PM To: [email protected] Subject: [flexcoders] Re: TileList custom ItemRenderer - commitProperties not called when selection changes --- In [email protected]<mailto:flexcoders%40yahoogroups.com>, Greg Hess <flexeff...@...> wrote: > > Hi All, > > I have a custom item renderer in one of my TileList's. I need to set a > style of one of the children to indicate selection, I am doing this by > overriding commitProperties. However, when debugging the IR's > commitProperties does not get called after the selection changes. > I'm pretty sure that the styleFunction on the TileList_withStyle at flexdiary.blogspot.com gets called when the selectedItem changes. IMO, it's much cleaner not to have the itemRenderer making decisions about style. HTH; Amy

