Users in chat in a separate movie

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
pixelDepth
Posts: 11
Joined: 17 Mar 2006, 12:41

Users in chat in a separate movie

Post by pixelDepth »

Hey,

I'm creating a chat from scratch, but am looking at the demo chats as reference. With my chat I want to have 2 swf files, 1 for the chat, and 1 for the online list. Now, to actually get the users into the online swf, i'm sending an array from the chat swf to the online swf using LocalConnection(). It's not great, so I wondered, is there a better way to do this that i'm not aware of?

Thanks
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Your choice is right. The LocalConnection is the only way to have two SWFs talk together, however why do you use 2 files instead of one?

Is it really necessary?
Lapo
--
gotoAndPlay()
...addicted to flash games
pixelDepth
Posts: 11
Joined: 17 Mar 2006, 12:41

Post by pixelDepth »

Yes :p

The chat is going to be integrated into our site, so the online list needs to be way over to the left, and the chat to the right :)

Cheers :)
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

I see :D
Then you've chosen the best way to do it. Good luck :)
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply