Avatar

Level 10

I don't think you're explaining what you're trying to accomplish very well. Is this using the Flex SDK or the plain Flash-only one? If you're just looking to notify as new users are coming or leaving, try using UserManager.userCreate and UserManager.userRemove. If you're using the Flex SDK, then just bind whatever List component you need to the UserManager.userCollection, and it will manage display updates for you.

Using a SharedCollection seems like a wasteful approach - if every client connected is running the same code when a user comes and goes (adding or removing them to/from a collection) then there's no need to make the collection shared, since they should all already be synchronized. You're essentially doubling the amount of messages sent for no reason.

I'm feeling a little less worried that you've found performance improvements that you aren't sharing, at least.

nigel