Take a look at the subtopics feature of the Consumer or the MultiTopicConsumer if you want to receive multiple subscriptions from a single message stream. You'd have one destination for the seats as a whole and probably a separate subtopics for each seat. If you need to route messages to players individually, you could have a another destination for players and a subtopic based on the user's session or user id. Subtopics are created lazily the first time someone subscribes to them and are removed when the last user unsubscribes.
Actually, this type of thing is probably easier to do using data management since that will do all of the subscriptions for you. In that case, you'd do a fill to get the list of seats (which would then be sync'd with the server so as new seats come and go the client would automatically be updated). Once you select a seat you'd do a query to get the view of data for that seat... again that is sync'd automatically with the server if you leave autoSyncEnabled=true on the DataService. Each user could also create records for their per-user info which other users might share by getting a reference to... maybe the seat would have a reference to public view of the users at that table. Jeff ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Tsoukias Sent: Thursday, March 27, 2008 10:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Data Services (of LiveCycle Data Services) I am trying to create a multiplayer game, in which at first i need to show a tables list of available seats. Each table, should be a new destination on FDS server? or am i missing something here? If thats the case, how do i automatically create and delete destinations? (I'm using RTMP - if I was using Flash Media Server, I would create server side shared objects). Thanks, Alexander