[flexcoders] ArrayCollection.setItemAt() triggering a new instance of itemRenderer class

2009-10-22 Thread Brandon Krakowsky
Tracy, Thanks for the info.  Yeah, that makes sense.  Initially I was thinking that I could reuse images, textfields, etc., which I sometimes can, but I can't count on the fact that they'll be there. Sorry about hijacking the thread.  My mistake. Thanks, Brandon

[flexcoders] ArrayCollection.setItemAt() triggering a new instance of itemRenderer class

2009-10-21 Thread Brandon Krakowsky
Hello all, I'm using an array collection as a data provider for a list component with a custom itemRenderer.  If I use arrayCollection.addItemAt(), a new instance of the itemRenderer class is created.  If I use arrayCollection.setItemAt, the current instance for that particular item is

RE: [SPAM] [flexcoders] ArrayCollection.setItemAt() triggering a new instance of itemRenderer class

2009-10-21 Thread Tracy Spratt
, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Brandon Krakowsky Sent: Wednesday, October 21, 2009 3:56 PM To: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] ArrayCollection.setItemAt() triggering a new instance