Probably not. Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Baz Sent: Friday, October 09, 2009 2:12 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] When does myArrayCollection.setItemAt() get invoked in the component lifecycle? Alex you're the best thank you for all the help! So to follow, a strategy of deferring the setItemAt() call to commitProperties() has no value in this case? On Fri, Oct 9, 2009 at 1:29 PM, Alex Harui <aha...@adobe.com<mailto:aha...@adobe.com>> wrote: It is deferred to updateDisplayList Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com> [mailto:flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com>] On Behalf Of Baz Sent: Friday, October 09, 2009 11:09 AM To: flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com> Subject: [flexcoders] When does myArrayCollection.setItemAt() get invoked in the component lifecycle? If I had a ui component and on init() I did myArrayCollection.setItemAt(value, position) - when would the visual component bound to the arraycollection get updated? Is it immedietly when the function is called, or is it automatically deferred to updateDisplayList()? Basically, should I implement the invalidateProperties() / commitProprties() strategy when using setItemAt() on an Arraycollection or is this automatically handled? Cheers, Baz