Actionscript is not multi-threaded. While the consumer code is executing and reading from the collection, there is no way it can be changed by the producer, and vice versa.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of kumaran_sb Sent: Friday, March 30, 2007 8:24 AM To: [email protected] Subject: [flexcoders] Is there a Synchronized ArrayCollection ? Hello flexcoders I've an ActionScript ArrayCollection which is shared between a Consumer(which wakes up on a flash.Utils.TimerEvent and reads the collection) and a Producer(which writes to the same collection, based on a user interaction event). What would be the best way to synchronize access to this collection in Actionscript ? Thanks Kumaran

