Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Sync a rso

New Here ,
Aug 18, 2013 Aug 18, 2013

Hello I have only been learning ActionScript for a few weeks coming from Java and Javascript. I need some help with code.I have a remote shared object for my Flash Media Server Project. I like to store a list of all connected clients to a chat room that is visible to multiple users. When a clients connects, or disconnects from the application I want the list to be revised and all clients connected will see that changes in real-time. I am unsure the best way to approach this. I was thinking of using a changeList property to create an array that describes the change properties of a persistent shared object. Is that feasible to do, or is there a easier alternative? Finally, I be grateful if you could provide me a small sample of code to do this then I can take it from there. Thanks.

TOPICS
ActionScript
303
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 18, 2013 Aug 18, 2013
LATEST

is everyone connected to your server or are you using peer-to-peer?

if the former, the rso sends a sync event whenever any client uses setProperty to update the rso.  that sync event is sent to every connected client.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines