How To Synchronize

[TABLE]
[TR]
[TD=“class: votecell”]

[/TD]
[TD=“class: postcell”]I am attempting to build a small chat application using a remote shared object (RSO) for FMS. My question is, how do you dispatch the SyncEvent when the RSO has been updated? Example, what I want to do is to update all the clients connected when a user enters or leaves a chatroom. I have looked for documentation on this but to no avail. If you can provide me a small example how to do this I would appreciate it.
Thanks

[/TD]
[/TR]
[/TABLE]