I have a simple text chat Flex app. This uses an HTTPService
to post a message to a PHP script that takes the message and adds
it to a database. The script also returns XML formatted data that
the Flex app uses to populate the datagrid conversation area with
the messages sent by the users. Very simple. I expanded on the
tutorial found here:
and elsewhere to adapt it to a chat app.
My question is, given 30 people may be posting messages, how
can I have more of a realtime update of the conversation datagrid
area? Is there a way to force refreshing of just the grid and its
data provider at some n interval? Right now only the user who sends
a message has their datagrid updated. The others don't update until
they reload the page.