1 Reply Latest reply on Mar 20, 2007 1:11 PM by ntsiii

    HTTPService as a Flex Chat application

      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: http://devzone.zend.com/node/view/id/11 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.