Thanks,
Tom
On 7/12/06,
Tom Bray <[EMAIL PROTECTED]> wrote:
I have a dataService destination for managing a collection of user objects (a list of people in a chat room). I'm using DataServiceTransaction.refreshFill() to update the list as new user objects are added to the collection on the server-side (after they're authenticated). I have a test app running that adds a new user every five seconds.
The refreshFill method seems to be the right approach for notifying the client of the addition or removal of items from the collection, but what about updates to properties of the items themselves? In other words, say my user objects have a property called isTyping or isBroadcastingVideo -- what's the best way to push just the changes to this property out to the clients? In my test app, I'm randomly changing a property in each of the items in the list and want those changes to get pushed to the client (like I was updating a slot in a RemoteSharedObject in FMS). Do I need to send a message to the client that it needs to do a getItem()?
Thanks,
Tom
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

