In this project, a remote shared object on a Flash Communication Server contains data that changes frequently. It is imperative that the client immediately receive this data without any need to refresh.
In our approach, we connect to FCS server, attach to the remote shared object, and display the data in a Flex DataGrid control. Then, using FCS and Flex, we push changes to the client with Flex data-binding capabilities, so that the DataGrid displays updated data as changes occur.
You can accomplish 95% of this project solely through MXML constructs, without ever writing a line of ActionScript; however, there are a few issues to understand.
If the above points are a bit foreign right now, that is okay. They will become clearer in the course of this and other articles; also, using the following components, you can still work with FCS.
Please take a moment and review FCSService and SharedRemote class documentation, available from the fcs_flex_sample.zip that you downloaded at the beginning of this article.
FCSService documentation (fcsservice_class_readme.html)SharedRemote documentation (sharedremote_class_readme.html) Now read on to assemble the application.