It is deferred to updateDisplayList 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 Baz Sent: Friday, October 09, 2009 11:09 AM To: [email protected] 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

